1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 02:33:17 +02:00
Files
archived-php-src/Zend/tests/bug77738.phpt
T
Peter Kokot c02a03b49b Fix failing test
Since aad39879f2 accessing undefined
constants always throws an Error exception.
2019-03-14 20:41:19 +01:00

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