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
error_reporting() exists (#3220) but the VM initializes E_ALL (32767) and never applies Zend's startup mask E_ALL & ~E_DEPRECATED & ~E_STRICT (22527 on PHP 8.2). Restoring a level captured at startup therefore returns 32767 instead of Zend's 22527.
Fix: VM ErrorReporter, VmIni ini_restore defaults, and IniRuntime JIT/AOT globals now use Zend startup mask E_ALL & ~E_DEPRECATED & ~E_STRICT (22527 on PHP 8.2) instead of raw E_ALL (32767).
Verification:
VM repro: during=32767, after=22527, fresh error_reporting() → 22527
JIT repro: same restore behavior
vendor/bin/phpunit --filter error_reporting → 4/4 VM+JIT OK
Activity
PurHur commentedon Jun 15, 2026
claim: PHP Compiler STD Lib — starting this run
Fix error_reporting() startup mask to match Zend (E_ALL & ~E_DEPRECAT…
PurHur commentedon Jun 15, 2026
Merged via #8671.
Fix: VM
ErrorReporter,VmIniini_restore defaults, andIniRuntimeJIT/AOT globals now use Zend startup maskE_ALL & ~E_DEPRECATED & ~E_STRICT(22527 on PHP 8.2) instead of rawE_ALL(32767).Verification:
during=32767,after=22527, fresherror_reporting()→22527vendor/bin/phpunit --filter error_reporting→ 4/4 VM+JIT OKphp bin/compile.php -l test/repro-maintainer/error_reporting_default_mask.php→ exit 0Language: PROFILE=8.4 default error_reporting includes E_DEPRECATED (#…
Language: PROFILE=8.4 default error_reporting includes E_DEPRECATED (#…
Language: emit dynamic property E_DEPRECATED under PROFILE≥8.2 (#29195)…