diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-06-21 20:36:17 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-06-21 21:05:13 +0900 |
| commit | 40a9b8c4e5f80b1e4dc8df8f5af1b7b4903e69df (patch) | |
| tree | 864c57092e26db1c35cb1952147da138da0893f9 /crates/shirabe-php-shim/src/process.rs | |
| parent | e283399a0304846bbff8484f455c50ecb3de7048 (diff) | |
| download | php-shirabe-40a9b8c4e5f80b1e4dc8df8f5af1b7b4903e69df.tar.gz php-shirabe-40a9b8c4e5f80b1e4dc8df8f5af1b7b4903e69df.tar.zst php-shirabe-40a9b8c4e5f80b1e4dc8df8f5af1b7b4903e69df.zip | |
feat(php-shim): implement serialize/var_export/to_array/get_debug_type
Implement var.rs shims: serialize() (scalars/arrays with canonical
integer-key normalization), var_export()/var_export_str() (PHP-faithful
indentation and quoting), to_array() ((array) cast semantics),
get_debug_type() and is_iterable() for the scalar/array cases.
Reflection-dependent helpers (is_a, is_callable, get_class, instance_of,
etc.) and object variants remain TODO(phase-d) as they need runtime
class information PhpMixed does not carry.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe-php-shim/src/process.rs')
0 files changed, 0 insertions, 0 deletions
