xref: /PHP-7.3/Zend/tests/halt_compiler5.phpt (revision a5d3620d)
1--TEST--
2Using __COMPILER_HALF_OFFSET__ with trailing {} (OSS-Fuzz #17895)
3--FILE--
4<?php
5__COMPILER_HALT_OFFSET__;
6{}
7--EXPECTF--
8Warning: Use of undefined constant __COMPILER_HALT_OFFSET__ - assumed '__COMPILER_HALT_OFFSET__' (this will throw an Error in a future version of PHP) in %s on line %d
9