Fix failing test

Since aad39879f2 accessing undefined
constants always throws an Error exception.
This commit is contained in:
Peter Kokot 2019-03-14 20:41:19 +01:00
parent 160f3636db
commit c02a03b49b

View file

@ -5,4 +5,7 @@ Bug #77738 (Nullptr deref in zend_compile_expr)
__COMPILER_HALT_OFFSET__;
; // <- important
--EXPECTF--
Warning: Use of undefined constant __COMPILER_HALT_OFFSET__ - assumed '__COMPILER_HALT_OFFSET__' %sbug77738.php on line %d
Fatal error: Uncaught Error: Undefined constant '__COMPILER_HALT_OFFSET__' in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d