Reply to Re: Breaking backwards compatibility - good or bad?

Your name:

Reply:


Posted by Andy Hassall on 12/31/05 20:44

On Sat, 31 Dec 2005 18:20:11 +0000, Colin Fine <news@kindness.demon.co.uk>
wrote:

>> 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.
>
>So what happens if you use it on an OS with case-insensitive filenames?

Then it picks up the file with the capitalisation matching the class name, but
it's then not portable.

The main case-insensitive filesystems (FAT32, NTFS) are still case-preserving
anyway, so a file still has a single canonical name capitalised in a specific
way.

--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация