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
Out-of-range SplFixedArray writes must throw a user-catchableRuntimeException (Index invalid or out of range). Zend's try { $a[5]=1; } catch (Throwable) catches it. The VM prints an Uncaught RuntimeException fatal and never enters the user catch — exception escapes the script try/catch around the dim write.
Activity
PurHur commentedon Jul 22, 2026
claim: PHP Compiler STD Lib Advanced — batch (issues #21977, #21994, #22007)
Working #21977 first (SplMinHeap/SplMaxHeap subclass compare). Then #21994, then #22007. Separate PRs; merge each before the next.
Stdlib: SplFixedArray OOB dim write catchable via ASSIGN (#21994) (#2…
PurHur commentedon Jul 22, 2026
Merged in #22011
Verification
test/repro/splfixedarray_oob_catchable_21994.php→caught:RuntimeException/after./script/phpunit.sh --filter 'splfixedarray_oob_catchable|…'→ OK (6)Batch continues with #22007 (ParentIterator + RII).
AOT: SplFixedArray var_dump __debugInfo + catchable OOB exceptions (#…