Re: Re: [PATCH] Bug #49852 & Bug #53065 - Adding spl_autoload_case_sensitivity()
| From: | Mike Willbanks | Date: | Wed, 09 Mar 2011 19:35:22 +0000 |
| Subject: | Re: Re: [PATCH] Bug #49852 & Bug #53065 - Adding spl_autoload_case_sensitivity() | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-51651@lists.php.net to get a copy of this message | ||
Do you use lowercase paths and have capitals in your class names?
That is really where this goes into. Much of PEAR and just about all
of the frameworks are following a specific area. The main key item
here is that \My\Class is generally in a folder like My/Class.php.
Right now spl_autoload would translate this to look at: my/class.php
by default which one would likely think that it would be My/Class.php
being the one that would be autoloaded since we did not type it
lowercase.
Regards,
Mike
On Wed, Mar 9, 2011 at 1:06 PM, Michael Maclean
<michael@no-surprises.co.uk> wrote:
> On 09/03/11 13:34, Mike Willbanks wrote:
>
>> It seems like the only potential BC break is on linux if people were
>> using all lowercase paths. To me it would seem like this is really
>> not the case or would happen only sometimes.
>
> I'd have trouble finding a single one of my apps that had a path with any
> uppercase characters at all. They all run on Linux.
>
> --
> Cheers,
> Michael
>