Re: strange autoload behavior
| From: | Derick Rethans | Date: | Thu, 10 Jul 2008 07:25:19 +0000 |
| Subject: | Re: strange autoload behavior | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-38892@lists.php.net to get a copy of this message | ||
On Wed, 9 Jul 2008, Gergely Hodicska wrote:
> This is a SKELETON (use case) to present the error! Do you think somebody
> write to the internal list with a dummy error?
YOu'd be surprised sometimes ;-) Anyway, exceptions thrown during
autoload are ignored. Autoloading is the last resort for the engine to
find a class. If the class can not be loaded (file isn't there,
exception, autoloader doesn't load a file), then you get the fatal
error. This is correct behavior.
regards,
Derick
--
Derick Rethans
http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org