]> granicus.if.org Git - php/commit
Don't allow leading \ in group use decl list
authorNikita Popov <nikic@php.net>
Thu, 20 Aug 2015 09:47:43 +0000 (11:47 +0200)
committerNikita Popov <nikic@php.net>
Thu, 20 Aug 2015 09:47:43 +0000 (11:47 +0200)
commit186b0f3770e9831cf9e416b51afd29830b56c1e1
tree4d0b3f1e40bacf38a408bf75daf3e61159e7a163
parent4d7a8f119e7f52737605acab797bcb5d6ef1fc58
Don't allow leading \ in group use decl list

We recently added support for "use \Foo\{Bar}". This commit drops
support for the reverse "use Foo\{\Bar}". Those two got mixed up
in the initial implementation.
Zend/tests/ns_094.phpt
Zend/tests/ns_096.phpt [new file with mode: 0644]
Zend/zend_language_parser.y