mirror of
https://github.com/php/php-src.git
synced 2025-08-20 09:24:05 +02:00
Fix failing test
Since aad39879f2
accessing undefined
constants always throws an Error exception.
This commit is contained in:
parent
160f3636db
commit
c02a03b49b
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue