Re: Re: RE : [PHP-DEV] [PATCH] in_class_exists() for detecting __autoload() called by class_exists() and interface_exists()
| From: | Alexey Zakhlestin | Date: | Sat, 06 Oct 2007 10:02:15 +0000 |
| Subject: | Re: Re: RE : [PHP-DEV] [PATCH] in_class_exists() for detecting __autoload() called by class_exists() and interface_exists() | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-32674@lists.php.net to get a copy of this message | ||
On 10/6/07, Stanislav Malyshev <stas@zend.com> wrote:
>
> Then loader should be able to tell the engine that it shouldn't try
> another handler.
I am not sure, that is a good idea.
Probably, it would be better to allow registering different autoload
functions per-namespace basis?
I think that can be done by extending spl_autoload_* family of
functions and leaving autoload_register() as low-levelish as it is now
--
Alexey Zakhlestin
http://blog.milkfarmsoft.com/