mirror of
https://github.com/php/php-src.git
synced 2024-12-12 03:15:29 +08:00
11 lines
277 B
PHP
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
|