php-src/Zend/tests/ns_096.phpt

11 lines
277 B
Plaintext
Raw Normal View History

--TEST--
Group use declaration list should not contain leading separator
--FILE--
<?php
use Foo\Bar\{\Baz};
?>
--EXPECTF--
2015-08-20 18:58:36 +08:00
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