[PATCH] updated resolve function/const conflict between namespace/class
| From: | Greg Beaver | Date: | Fri, 12 Sep 2008 03:14:57 +0000 |
| Subject: | [PATCH] updated resolve function/const conflict between namespace/class | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-40477@lists.php.net to get a copy of this message | ||
Hi,
The attached updated patch (which is also available at
http://pear.php.net/~greg/resolvensfuncconst.patch.txt)
adds support for
call_user_func() resolution of the new function::blah format, as in:
call_user_func('function::blah');
and adds a missing ns_071.inc file in the Zend/tests directory.
Otherwise, it is identical to the previous patch in my message from
yesterday.
With the three patches I have posted for namespaces, all critical issues
are resolved, leaving the sugar questions of namespace {} versus
namespace; and other minor points raised by Liz Smith in her recent blog
post on the subject.
Greg