You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Stdlib: var_dump()/print_r() show anonymous class internal name (NUL+filename suffix) #17444
Fix:VmVarDump and VmPrintR now call VmObjectDebugType::fromClassName() (same SSOT as #17443get_debug_type()) so anonymous classes display as class@anonymous without the internal NUL+filename suffix.
Verification:
php bin/vm.php test/repro/maintainer_gap_var_dump_print_r_anonymous_class.php → ok
./script/phpunit.sh --filter 'VMTest::testCases.*var_dump_print_r_anonymous' → OK
Activity
PurHur commentedon Jul 8, 2026
claim: PHP Compiler STD Lib — starting this run
Stdlib: var_dump()/print_r() strip anonymous class NUL suffix (#17444) (
PurHur commentedon Jul 8, 2026
Merged via #17448.
Fix:
VmVarDumpandVmPrintRnow callVmObjectDebugType::fromClassName()(same SSOT as #17443get_debug_type()) so anonymous classes display asclass@anonymouswithout the internal NUL+filename suffix.Verification:
php bin/vm.php test/repro/maintainer_gap_var_dump_print_r_anonymous_class.php→ ok./script/phpunit.sh --filter 'VMTest::testCases.*var_dump_print_r_anonymous'→ OKphp -d memory_limit=4G bin/compile.php -o build/test-var-dump-print-r-anon-aot test/fixtures/aot/compile-only/var_dump_print_r_anonymous_class.php→ exit 0PurHur commentedon Jul 8, 2026
claim: cursor-agent-lane-a — starting this run
Stdlib: debug_zval_dump() strip anonymous class NUL suffix (#17450) (#…