diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-16 15:36:34 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-16 15:36:34 +0900 |
| commit | 67f7ed262214a97c85121f485cd3d76a85d49e39 (patch) | |
| tree | f1ad2ce1ee0d9dd8f236bacd427633ea87818f8b /crates/shirabe-php-shim | |
| parent | 91e933cef78d1724a9f28499d122da1ec29c823a (diff) | |
| download | php-shirabe-67f7ed262214a97c85121f485cd3d76a85d49e39.tar.gz php-shirabe-67f7ed262214a97c85121f485cd3d76a85d49e39.tar.zst php-shirabe-67f7ed262214a97c85121f485cd3d76a85d49e39.zip | |
feat(port): port VersionGuesser.php
Diffstat (limited to 'crates/shirabe-php-shim')
| -rw-r--r-- | crates/shirabe-php-shim/src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs index d25da8a..114f74c 100644 --- a/crates/shirabe-php-shim/src/lib.rs +++ b/crates/shirabe-php-shim/src/lib.rs @@ -1180,6 +1180,10 @@ pub fn array_merge_recursive(arrays: Vec<PhpMixed>) -> PhpMixed { pub const PHP_EOL: &str = "\n"; +pub const PHP_INT_MAX: i64 = i64::MAX; +pub const PHP_INT_MIN: i64 = i64::MIN; +pub const PHP_INT_SIZE: i64 = 8; + pub fn call_user_func_array(callback: &str, args: &PhpMixed) -> PhpMixed { todo!() } |
