summaryrefslogtreecommitdiff
path: root/Zend/tests/bug77738.phpt
blob: c664a3134404daff01ee2c37b1c766dee745017b (plain)
1
2
3
4
5
6
7
8
9
10
11
--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