Importing namespaced functions

From: Date: Fri, 19 Apr 2013 02:24:09 +0000
Subject: Importing namespaced functions
Groups: php.internals 
Request: Send a blank email to internals+get-67097@lists.php.net to get a copy of this message
Hello internals, One of the shortcomings of namespaced functions in PHP is that it is not possible to import them as you can do with classes and namespaces. For code that is not in the same namespace as the function, you must always reference at least one part of the namespace in order to call it. It would help a lot if functions could be imported as well. I have drafted an RFC that tries to address this and wanted to get some initial feedback on the idea: https://gist.github.com/igorw/44133fe2feb0c1a5d51f Thanks! Igor

« previous php.internals (#67097) next »