Tuesday, April 05, 2011
A co-worker asked me if it was possible to get PHP 5.3 to search other namespaces when it failed to find a function in the global namespace, so we went off to the PHP source code to the place that the virtual machine calls user defined functions. We found the following comments:
- /* Never reached */
- /* FIXME: output identifiers properly */
- /* Not sure what should be done here if it's a static method */
In turn my colleague quipped, PHP 5.3? More like PHP 0.5.