mirror of
https://github.com/php/php-src.git
synced 2024-10-01 23:06:11 +00:00
11 lines
224 B
Plaintext
11 lines
224 B
Plaintext
|
--TEST--
|
||
|
Bug #60099 (__halt_compiler() works in braced namespaces)
|
||
|
--FILE--
|
||
|
<?php
|
||
|
namespace foo {
|
||
|
__halt_compiler();
|
||
|
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Fatal error: __HALT_COMPILER() can only be used from the outermost scope in %s on line %d
|