Re: Proposal for PHP 7 : case-sensitive symbols

From: Date: Tue, 23 Dec 2014 01:03:09 +0000
Subject: Re: Proposal for PHP 7 : case-sensitive symbols
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-79874@lists.php.net to get a copy of this message
Hi all, On Mon, Dec 22, 2014 at 8:33 AM, David Muir <davidkmuir@gmail.com> wrote: > +1 on E_STRICT warning for case mismatch on class names. Also +1 on > eventual case sensitivity for userland class names. Not convinced the rest > is worth it. > > The insensitivity makes code brittle. Sometimes the same code will run > fine, and other times it breaks depending on what lines triggered the auto > loader. If you instantiate a Foo instance first, then instantiate a new > foo, the code runs fine, but if you try to instantiate a new foo first, we > get a fatal error. > It seems the most reasonable approach for this issue. +1 Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net

« previous php.internals (#79874) next »