summaryrefslogtreecommitdiff
path: root/Zend/tests/halt_compiler5.phpt
blob: 7b21c4b06c6f2912530cbb507a72a54ff5025757 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
Using __COMPILER_HALF_OFFSET__ with trailing {} (OSS-Fuzz #17895)
--FILE--
<?php
__COMPILER_HALT_OFFSET__;
{}
?>
--EXPECTF--
Fatal error: Uncaught Error: Undefined constant "__COMPILER_HALT_OFFSET__" in %s:%d
Stack trace:
#0 {main}
  thrown in %s on line %d