com php-src: add explicit tests for variations on whitespace usages: Zend/tests/ns_093.phpt

From: Date: Sat, 07 Mar 2015 20:59:48 +0000
Subject: com php-src: add explicit tests for variations on whitespace usages: Zend/tests/ns_093.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-85315@lists.php.net to get a copy of this message
Commit: 072d1dad1578149b1bf0c5bd2748dca167d46d46 Author: Márcio Almada <marcio3w@gmail.com> Wed, 11 Feb 2015 18:58:45 -0300 Parents: 344fc25b1267d7232ea1c30ea5fabf4788b2aed2 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=072d1dad1578149b1bf0c5bd2748dca167d46d46 Log: add explicit tests for variations on whitespace usages Changed paths: A Zend/tests/ns_093.phpt Diff: diff --git a/Zend/tests/ns_093.phpt b/Zend/tests/ns_093.phpt new file mode 100644 index 0000000..cc82bd4 --- /dev/null +++ b/Zend/tests/ns_093.phpt @@ -0,0 +1,27 @@ +--TEST-- +Batch use declarations and whitespace nuances +--FILE-- +<?php + +// should not throw syntax errors + +use Foo\Bar \{ A }; + +use Foo\Bar\ { B }; + +use Foo\Bar +\{ + C +}; + +use Foo\Bar\ +{ + D +}; + +echo "\nDone\n"; + + +--EXPECTF-- + +Done \ No newline at end of file

« previous php.cvs (#85315) next »