xref: /PHP-5.5/Zend/tests/bug60099.phpt (revision 7735ef1c)
1--TEST--
2Bug #60099 (__halt_compiler() works in braced namespaces)
3--FILE--
4<?php
5namespace foo {
6	__halt_compiler();
7
8?>
9--EXPECTF--
10Fatal error: __HALT_COMPILER() can only be used from the outermost scope in %s on line %d
11