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
With assertions active and assert.exception=0, a failing assert() on this VM emits E_USER_WARNING (512) with message Assertion failed: x. Zend emits E_WARNING (2) with assert(): x failed.
Verified 2026-07-27 against php:8.4-cli 8.4.23 (zend.assertions=1 at runtime). Pinned image Zend 8.2 cannot flip zend.assertions via ini_set (php.ini-only) — use 8.4 reference for this slice.
ext/standard/ assert implementation (PHP-in-PHP) — emit E_WARNING and message assert(): {description} failed (or Zend's exact format for the description form used)
Mirror JIT/AOT assert helpers; no new C assert paths in runtime/
Activity
PurHur commentedon Jul 27, 2026
Merged in #23767.
Verification:
php bin/vm.php -r 'ini_set("zend.assertions","1"); ini_set("assert.exception","0"); ... assert(false,"x");'→W:2:assert(): x failed. PHPUnit filterassert_warning_paritygreen (VM+JIT).