Posted by Tony Marston on 10/17/66 11:36
"Wayne" <not@here.com> wrote in message
news:e7lrq19fuot6bqamnklrfisgjhekq4oge5@4ax.com...
> On Sat, 24 Dec 2005 11:10:33 +0000, Colin Fine
> <news@kindness.demon.co.uk> wrote:
>
>>PHP5 marked a step forward over PHP4, but Tony has changed my mind.
>>The one place where it has improved things (that I can now say
>>class MyClass
>>...
>>if get_class($var, 'MyClass') ...
>>and have it work)
>>is not enough to justify the change.
>
> The reason for the change was for __AutoLoad(). Since most file
> systems where PHP runs is case-sensitive you need to get the proper
> case of the class to map it to a file name to load.
>
> That's the reason for that change.
Oh, I see. Just because the developers of UNIX screwed up by introducing
case-sensitivity the rest of the world has to follow suit just to be
*consistent*.
[Back to original message]
|