Re: svn: /pear2/Autoload/trunk/src/ Autoload.php
| From: | Brett Bieber | Date: | Sat, 25 Sep 2010 21:42:26 +0000 |
| Subject: | Re: svn: /pear2/Autoload/trunk/src/ Autoload.php | ||
| References: | 1 2 | Groups: | php.pear.cvs php.pear.core |
| Request: | Send a blank email to pear-cvs+get-60408@lists.php.net to get a copy of this message | ||
On Saturday, September 25, 2010, Helgi Þormar Þorbjörnsson
<helgith@gmail.com> 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