-- Jack Sleight <[EMAIL PROTECTED]> wrote
(on Wednesday, 19 March 2008, 01:55 PM +0000):
> Matthew Weier O'Phinney wrote:
> > I wouldn't re-open the issue, but if you feel strongly about it, I'd
> > recommend opening a separate issue asking for the following: that
> > Zend_Loader::registerAutoload() register an error handler that catches
> > only the warnings generated by include_once and suppresses them. And
> > then we can restart the discussion.
> >
> I really don't think that's required, the simplest fix is to just change
> line 83 from:
>
> include_once $file;
>
> To:
>
> if (self::isReadable($file)) {
> include_once $file;
> }
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.
--
Matthew Weier O'Phinney
PHP Developer | [EMAIL PROTECTED]
Zend - The PHP Company | http://www.zend.com/