php-src/Zend/tests/ns_trailing_comma_error_05.phpt

8 lines
191 B
PHP

--TEST--
Group use declarations mustn't contain two commas mid-list
--FILE--
<?php
use Baz\{Foo,,Bar};
?>
--EXPECTF--
Parse error: syntax error, unexpected ',', expecting '}' in %s on line %d