diff options
Diffstat (limited to 'Zend/tests/ns_trailing_comma_error_07.phpt')
-rw-r--r-- | Zend/tests/ns_trailing_comma_error_07.phpt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Zend/tests/ns_trailing_comma_error_07.phpt b/Zend/tests/ns_trailing_comma_error_07.phpt new file mode 100644 index 0000000000..c60dd6a4b0 --- /dev/null +++ b/Zend/tests/ns_trailing_comma_error_07.phpt @@ -0,0 +1,8 @@ +--TEST-- +Unmixed group use declarations mustn't begin with a comma +--FILE-- +<?php +use function Baz\{,Foo}; +?> +--EXPECTF-- +Parse error: syntax error, unexpected ',', expecting identifier (T_STRING) in %s on line %d
\ No newline at end of file |