diff options
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!() } |
