Closed
Description
Description
The following code:
<?php
var_dump($rao=assert_options(ASSERT_BAIL, 1));
var_dump($r2=assert(0 != 0));
Resulted in this output:
/php-src/Zend/zend_exceptions.c:1015: zend_throw_unwind_exit: Assertion `!(((zend_executor_globals *) (((char*) _tsrm_ls_cache)+(executor_globals_offset)))->exception)' failed.
Aborted (core dumped)
To reproduce:
-d "assert.callback=f1" -d "assert.exception=0"
PHP Version
PHP 8.4.0-dev
Operating System
ubuntu 22.04