summaryrefslogtreecommitdiff
path: root/Zend/tests/bug77738.phpt
blob: a2e5fa06fdb6876a601611804fd51d0bf4ffe1ec (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