Re: Re: RE : [PHP-DEV] [PATCH] in_class_exists() for detecting __autoload() called by class_exists() and interface_exists()

From: Date: Sun, 07 Oct 2007 01:34:16 +0000
Subject: Re: Re: RE : [PHP-DEV] [PATCH] in_class_exists() for detecting __autoload() called by class_exists() and interface_exists()
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-32687@lists.php.net to get a copy of this message
I am not sure, that is a good idea. Probably, it would be better to allow registering different autoload functions per-namespace basis?
Why per-namespace - maybe some applications want it not per-namespace but per something else? The idea is very simple - you want autoloader declare that only it can load specific class and give reason why it failed if it can't. So that's the way how you can do it. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#32687) next »