aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/installer.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-08-04 06:33:15 +0900
committernsfisis <nsfisis@gmail.com>2026-08-04 06:33:15 +0900
commit901cbbf285ed4e9c1f7bf75b413643c117a6105a (patch)
treeb455299a58b64a3fcc5bafa40a7a640936891e93 /crates/shirabe/src/installer.rs
parentb45e04865df335a9aedbf2bdd5b17353c1598fa5 (diff)
downloadphp-shirabe-901cbbf285ed4e9c1f7bf75b413643c117a6105a.tar.gz
php-shirabe-901cbbf285ed4e9c1f7bf75b413643c117a6105a.tar.zst
php-shirabe-901cbbf285ed4e9c1f7bf75b413643c117a6105a.zip
feat(php-shim): render stdClass-shaped objects in var_export
PhpMixed::Object hit a todo!(); the capability-name validation message in PluginManager (var_export of an invalid getCapabilities value) reaches it with a stdClass. Match the PHP 8.5.8 output byte for byte — the "(object) array(...)" shape, properties indented one space deeper than array elements, keys always quoted strings — verified against the real PHP as the oracle and pinned by a unit test. Other classes would render as \Class::__set_state(...), which stays out of reach because PhpMixed::Object carries no class name. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/installer.rs')
0 files changed, 0 insertions, 0 deletions