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
stdlib · php-src-strict · regression (nested operand in string concatenation)
Problem
After next($array), key($array) must return the current key (e.g. int 1). When used as a nested operand inside string concatenation with var_export(..., true), the VM returns true instead of the key.
Standalone key($array) works; dot-concat form fails. Same failure class as #13811 (prev()).
Activity
PurHur commentedon Jun 30, 2026
claim: worker lane C — batch (issues #13829, #13811) — compiler var_export/array-pointer concat mis-bind (lib/Compiler.php)
Fix var_export(array pointer) concat mis-bind (#13829). (#13894)
PurHur commentedon Jun 30, 2026
Merged via #13894 — compiler var_export/array-pointer concat mis-bind fixed in
lib/Compiler.php. Verification:php bin/vm.php test/repro/maintainer_gap_key_concat_operand.php→ ok; compliancearray_pointer_var_export_concat.phptgreen.PurHur commentedon Jun 30, 2026
Maintainer: repro script from issue body is now present under
test/repro/(verified VM fails / Zend passes 2026-06-30).Add repro guards for array pointer builtins in string concat (#13828–#…
PurHur commentedon Jul 5, 2026
claim: PHP Compiler STD Lib Advanced — batch (issues #16269, #16254, #13829) — testVarExportNestedArrayPointerBuiltinUsesFuncCallProducerSlot fails (key=2 not key=1)
Fix var_dump multi-arg hoisted sibling producer misbind (#16254, #16269…
PurHur commentedon Jul 5, 2026
Merged in #16466.
Verification: