dis-bench / src /php /php-src /Zend /tests /grammar /bug60099.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
190 Bytes
--TEST--
Bug #60099 (__halt_compiler() works in braced namespaces)
--FILE--
<?php
namespace foo {
__halt_compiler();
?>
--EXPECTF--
Parse error: Unclosed '{' on line 2 in %s on line %d