php-src/Zend/tests/bug77738.phpt
2020-08-09 22:03:36 +02:00

13 lines
264 B
PHP

--TEST--
Bug #77738 (Nullptr deref in zend_compile_expr)
--FILE--
<?php
__COMPILER_HALT_OFFSET__;
; // <- important
?>
--EXPECTF--
Fatal error: Uncaught Error: Undefined constant "__COMPILER_HALT_OFFSET__" in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d