mirror of
https://github.com/php/php-src.git
synced 2024-10-02 23:36:16 +00:00
11 lines
224 B
PHP
11 lines
224 B
PHP
--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
|