xref: /PHP-8.2/Zend/tests/bug60099.phpt (revision 80598f12)
1--TEST--
2Bug #60099 (__halt_compiler() works in braced namespaces)
3--FILE--
4<?php
5namespace foo {
6    __halt_compiler();
7
8?>
9--EXPECTF--
10Parse error: Unclosed '{' on line 2 in %s on line %d
11