Open YuanchengJiang opened 5 days ago
The following code:
<?php function bar() {} #bar(); uncomment this will output: "/php-src/Zend/zend_observer.c:195: void zend_observer_add_begin_handler(zend_function *, zend_observer_fcall_begin_handler): Assertion `0' failed" ini_set("zend_test.observer.observe_function_names", "bar");
Resulted in this output:
/php-src/Zend/zend_observer.c:184:53: runtime error: applying non-zero offset 18446744073709551608 to null pointer
nightly
ubuntu 22.04
Why is
https://github.com/php/php-src/blob/79c71c9f0b5fa7e27d64075b624f92f07c64ad11/ext/zend_test/observer.c#L349
PHP_INI_ALL?
Ah, 9e2de4c2d95b0a391f85121d0d077c8d6d5fdcae.
Description
The following code:
Resulted in this output:
PHP Version
nightly
Operating System
ubuntu 22.04