Re: Re: [RFC] Autoloader Error Handling
| From: | Sebastian Bergmann | Date: | Fri, 25 Nov 2011 08:55:08 +0000 |
| Subject: | Re: Re: [RFC] Autoloader Error Handling | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56616@lists.php.net to get a copy of this message | ||
Am 25.11.2011 09:06, schrieb Christian Kaps:
> Or am i wrong here?
Yes you are. The idea is that you can have multiple autoload callbacks
which are invoked in sequence. The first one that is able to load the
requested class will end that sequence. If you throw exceptions in one
autoloader that sequence will be interrupted prematurely.
--
Sebastian Bergmann Co-Founder and Principal Consultant
http://sebastian-bergmann.de/
http://thePHP.cc/