Jessie Hernandez schrieb: > In this case the FOO define will be used. When you do a namespace import, > you can really only use classes without the namespace prefix (since > __autoload exists). To reference a function name without the prefix, you > must import it directly, as: > > import function A:::my_func; > > To have the same behavior for functions in namespace imports, a global > __call function would need to be defined (this would serve as the > "__autoload" for functions.
Hi Jessie! First of all, what about the "import ... as ..." syntax? And then, I wrote about a "auto prefix simulation" mode. This could give the prefix evangelists what they want without stopping others from using namespaces. How would that fit in here? Or is this suffering the same problems as here with only having autoscope-functionality for classes? OLLi PS: Sheesh, today the connection timeouts to news.php.net were getting on my nerves again. Is this just an issue with Thunderbird? I guess, other users seem to have these too (looking at the huge amount of double posts, that tend to happen alongside connection timeout stuff...) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php