mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
7aacc705d0
Closes GH-5958
13 lines
267 B
PHP
13 lines
267 B
PHP
--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
|