Re: [PEAR-CORE] svn: /pear2/Autoload/trunk/src/ Autoload.php
[email protected] (Brett Bieber) Sat, 25 Sep 2010 16:42:26 -0500
| Newsgroups | php.pear.cvs,php.pear.core |
|---|---|
| Message-ID | <[email protected]> |
On Saturday, September 25, 2010, Helgi Þormar Þorbjörnsson <[email protected]> wrote: > On 22 Sep 2010, at 05:28, Brett Bieber wrote: > >> saltybeagle Wed, 22 Sep 2010 03:28:18 +0000 >> >> Revision: http://svn.php.net/viewvc?view=revision&revision=303659 >> >> Log: >> Remove the dependency on include_path for a couple of reasons. 1. Speed. 2. include_path can be externally modified which can cause files that exist to not be loaded. > > I'm not so sure about this change; We added it due to the fact that not all functionality involved in this would automagically look in the include_path, externally modified or not. The autoloader now supports registering multiple paths, and I've provided two examples of why relying on include_path is a bad idea. -- Brett Bieber University of Nebraska-Lincoln