diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-15 23:47:09 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-16 10:00:40 +0900 |
| commit | 2c94b6f05e12106e2da64ecd1e066ca4ecb330df (patch) | |
| tree | b881d9f335c94dda60ca0fed80eff5a7cb4869b8 /crates/shirabe-php-shim | |
| parent | 3f6699725eb8d195410164bbc40a493dff630115 (diff) | |
| download | php-shirabe-2c94b6f05e12106e2da64ecd1e066ca4ecb330df.tar.gz php-shirabe-2c94b6f05e12106e2da64ecd1e066ca4ecb330df.tar.zst php-shirabe-2c94b6f05e12106e2da64ecd1e066ca4ecb330df.zip | |
feat(port): port VcsDriver.php
Diffstat (limited to 'crates/shirabe-php-shim')
| -rw-r--r-- | crates/shirabe-php-shim/src/lib.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs index 43786a0..d2052a3 100644 --- a/crates/shirabe-php-shim/src/lib.rs +++ b/crates/shirabe-php-shim/src/lib.rs @@ -391,6 +391,11 @@ pub fn realpath(path: &str) -> Option<String> { todo!() } +pub const JSON_UNESCAPED_UNICODE: i64 = 256; +pub const JSON_UNESCAPED_SLASHES: i64 = 64; +pub const JSON_PRETTY_PRINT: i64 = 128; +pub const JSON_THROW_ON_ERROR: i64 = 4194304; + pub fn json_encode(value: &PhpMixed) -> Option<String> { todo!() } |
