Re: Order of class resolution with namespaces and autoload
| From: | Stanislav Malyshev | Date: | Sat, 20 Oct 2007 23:33:29 +0000 |
| Subject: | Re: Order of class resolution with namespaces and autoload | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-32895@lists.php.net to get a copy of this message | ||
But you shouldn't even look for Exception then. I'm saying that if you want the global Exception class you should import it.That would be double bad - that means you have to go over all your code and add :: to all instances of global classes, even though you never ever intended to override any of them. I don't think it's a good idea. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com