From: Márcio Almada Date: Mon, 19 Jan 2015 05:21:11 +0000 (-0300) Subject: add tests for batch use declarations with classes, functions and constants X-Git-Tag: PRE_PHP7_NSAPI_REMOVAL~767^2~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bb171e2edcf243eb7d6614dbf1eddd6176b6f438;p=php add tests for batch use declarations with classes, functions and constants --- diff --git a/Zend/tests/ns_088.phpt b/Zend/tests/ns_088.phpt new file mode 100644 index 0000000000..008d35820a --- /dev/null +++ b/Zend/tests/ns_088.phpt @@ -0,0 +1,26 @@ +--TEST-- +Nested batch use statements syntax error +--FILE-- + +--EXPECTF-- +Parse error: syntax error, unexpected '{', expecting ',' or '}' in %sns_088.php on line 14 diff --git a/Zend/tests/ns_089.phpt b/Zend/tests/ns_089.phpt new file mode 100644 index 0000000000..e0b066c5ac --- /dev/null +++ b/Zend/tests/ns_089.phpt @@ -0,0 +1,56 @@ +--TEST-- +Batch use statements +--FILE-- +