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
--TEST--
Applying zero offset to null pointer in Zend/zend_opcode.c
--FILE--
<?php
function foo () {
try {
break;
} finally {
}
}
foo();
?>
--PHPDBG--
ev 1 + 3 # ev 2 ** 3#q
--EXPECTF--
prompt> 4
8
Fatal error: 'break' not in the 'loop' or 'switch' context in %stry_finally_011.php on line %d
Resulted in this output:
prompt> /php-src/Zend/zend_opcode.c:1094:30: runtime error: applying zero offset to null pointer
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /php-src/Zend/zend_opcode.c:1094:30