# [PATCH] updated resolve function/const conflict between namespace/class

- Thread: https://externals.io/message/40477
- Original archive: https://news-web.php.net/php.internals/40477
- Started by Greg Beaver on 2008-09-12T03:14:57+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #40477 — Greg Beaver — 2008-09-12T03:14:57+00:00

URL: https://externals.io/message/40477#40477

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
