aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim/src/fs.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-21 20:54:13 +0900
committernsfisis <nsfisis@gmail.com>2026-06-21 21:05:13 +0900
commit80c2870c5c38ba9b93d5f0ee4e594d72e5628723 (patch)
tree6e3f86dd9b95a8b66696cde80a2f198b632a1602 /crates/shirabe-php-shim/src/fs.rs
parent0ab867c1b880f6b59bba6899127a0b81be6c79ca (diff)
downloadphp-shirabe-80c2870c5c38ba9b93d5f0ee4e594d72e5628723.tar.gz
php-shirabe-80c2870c5c38ba9b93d5f0ee4e594d72e5628723.tar.zst
php-shirabe-80c2870c5c38ba9b93d5f0ee4e594d72e5628723.zip
feat(php-shim): implement version_compare/spl_object_hash/clone et al
Port php_version_compare (canonicalization + special-form ordering) and expose it via version_compare()/version_compare_2(). Implement clone() (via Clone), spl_object_hash()/spl_object_hash_process() (address-based), get_loaded_extensions() and the main-version case of phpversion(). Interpreter/reflection/autoload/eval/$GLOBALS/memory-accounting and Windows-only SAPI helpers remain TODO(phase-d): they have no equivalent in the compiled shim. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-php-shim/src/fs.rs')
0 files changed, 0 insertions, 0 deletions