diff options
Diffstat (limited to 'Zend/tests/ns_trailing_comma_error_05.phpt')
-rw-r--r-- | Zend/tests/ns_trailing_comma_error_05.phpt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Zend/tests/ns_trailing_comma_error_05.phpt b/Zend/tests/ns_trailing_comma_error_05.phpt new file mode 100644 index 0000000000..1d43e8fe32 --- /dev/null +++ b/Zend/tests/ns_trailing_comma_error_05.phpt @@ -0,0 +1,8 @@ +--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
\ No newline at end of file |