What do you mean are "file-local"?! So if I have a B.php, that includes A.php, and in A.php I have a namespace called Foo, I can't call a function from that namespace like Foo::someFunc () unless I call it from A.php?! So a Foo:someFunc () from B.php would be illegal? Cause if you're suggesting this, the whole idea of namespaces does something that can be described in PHP as: die ($namespaceLittleNamespaceIdea);
-----Original Message----- From: Stanislav Malyshev [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 13, 2008 11:18 PM To: Marcus Boerger Cc: internals@lists.php.net Subject: Re: [PHP-DEV] Inconsistencies in 5.3 Hi! > Simply include a script from two locations with different namespaces or one > with namespace and the otherone without. I'm afraid you misunderstand how namespaces work. As I explained numerous times, namespaces are file-local, and this when including file, it does not matter a bit what was including context. -- Stanislav Malyshev, Zend Software Architect [EMAIL PROTECTED] http://www.zend.com/ (408)253-8829 MSN: [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php