-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed as duplicate
Labels
Description
Description
The following code:
<?php
function foo()
{
$v_370297 = 'c';
$v_370291 = foo($v_370297,);
}
$v_370292 = foo();
Resulted in this output:
/home/w023dtc/nightly_php/php-src/Zend/zend_builtin_functions.c:1967:9: runtime error: member access within null pointer of type 'const zend_op' (aka 'const struct _zend_op')
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/w023dtc/nightly_php/php-src/Zend/zend_builtin_functions.c:1967:9
php -d "opcache.enable=1" -d "opcache.enable_cli=1" -d "opcache.jit_buffer_size=256M" -d "opcache.jit=1254" -d "opcache.jit_hot_func=1" -d "opcache.jit_hot_loop=1" -d "opcache.jit_hot_return=1" -d "opcache.jit_hot_side_exit=1" script.php
PHP Version
nightly
Operating System
ubuntu 22.04