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
Dynamic calls to assert() ignore zend.assertions #18509
Fatal error: Uncaught AssertionError in php-src/test.php:5
Stack trace:
#0 php-src/test.php(5): assert(false)
#1 {main}
thrown in php-src/test.php on line 5
But I expected this output instead:
In this case it would be unreasonable to expect that the evaluation of the arguments are skipped, but I would at least expect that the assertion itself becomes a noop.
changed the title [-]Dynamioc calls to `assert()` ignore `zend.assertions`[/-][+]Dynamic calls to `assert()` ignore `zend.assertions`[/+]on May 6, 2025
Activity
[-]Dynamioc calls to `assert()` ignore `zend.assertions`[/-][+]Dynamic calls to `assert()` ignore `zend.assertions`[/+]standard: Take `zend.assertions` into account for dynamic calls to `a…