Re: Re: SPLClassLoader RFC Thoughts And Improvements

From: Date: Fri, 11 Nov 2011 19:45:02 +0000
Subject: Re: Re: SPLClassLoader RFC Thoughts And Improvements
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-56288@lists.php.net to get a copy of this message
Hi!
That's unless the spl_autoload_register() api changes and allows to deal with errors - require(), Exception, ...
Autoloader shouldn't produce external errors - because if it's unable to load class, others may be able. Also, it'd be quite hard to handle such errors - you'd have to guard each operation that does anything with classes. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227

« previous php.internals (#56288) next »