mirror of
https://github.com/php/php-src.git
synced 2026-04-28 02:33:17 +02:00
c02a03b49b
Since aad39879f2 accessing undefined
constants always throws an Error exception.
12 lines
261 B
PHP
12 lines
261 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
|