Re: 4.1 & Declaration Case Persistance

From: Date: Fri, 04 May 2001 19:37:17 +0000
Subject: Re: 4.1 & Declaration Case Persistance
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-53939@lists.php.net to get a copy of this message
On 2001-05-04 20:01:42, "Colin Viebrock" <colin@easyDNS.com> wrote: > One "problem" with case sensitivity (perhaps) is that it may make some > scripts non-portable. > > Say I develop a super-duper PEAR class using case-sensitive code (cause > that's what I have on my server). Someone who is running PHP in > case-insensitive mode will complain when my code says: > if (get_class($foo)=='Some_Class_Name')) { ... So why not make it plain that it will only run under PHP 4.1 with case-sensitivity enabled? The whole point is that it is a compatibility breaking change, and the case sensitivity switch is really only there to help migrate "legacy" code. Just my HO. --Wez.

« previous php.dev (#53939) next »