Re: Re: Order of class resolution with namespaces and autoload
| From: | Gregory Beaver | Date: | Sat, 20 Oct 2007 03:33:33 +0000 |
| Subject: | Re: Re: Order of class resolution with namespaces and autoload | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-32880@lists.php.net to get a copy of this message | ||
Chuck Hagenbuch wrote:
> So, if I want a "global" exception, I use ::Exception. If I say
> Exception, then I mean my namespace's Exception with no fallback. And
> if I want another namespace's Exception, I import it (import
> Other::Exception).
I (and PEAR) could live with this. I don't have a patch to back this
up, so it is sort of up to Dmitry/Stas unless someone else feels like
grokking the source and making one.
Greg