php-src/Zend/tests/ns_096.phpt
2015-08-20 12:58:36 +02:00

11 lines
277 B
PHP

--TEST--
Group use declaration list should not contain leading separator
--FILE--
<?php
use Foo\Bar\{\Baz};
?>
--EXPECTF--
Parse error: syntax error, unexpected '\' (T_NS_SEPARATOR), expecting identifier (T_STRING) or function (T_FUNCTION) or const (T_CONST) in %s on line 3