OK then. Well I guess another method (such as yours) should be used.

Either way, no autoload method should assume that is is the only autoload method, and therefore no autoload method should cause an error when it can't include the requested class, it should simply fail silently. It isn't the job of any individual autoload to ensure a class is defined. Do you at least agree with me on that?

I'd not really thought of this as something /I/ specifically "feel strongly" about, I'd assumed it was an obvious flaw with Zend_Loader that most people would agree with, I guess I was wrong. I'll create a new issue and hopefully get some more opinions on the matter.

Matthew Weier O'Phinney wrote:
-- Jack Sleight <[EMAIL PROTECTED]> wrote
(on Wednesday, 19 March 2008, 01:55 PM +0000):
We explicitly are *not* doing that to keep this lean; isReadable() adds
some significant overhead, particularly when the method is called
repeatedly as it may with autoloading.


--
Jack

Reply via email to