Re: Deprecate and remove case-insensitive constants?

From: Date: Sat, 16 Sep 2017 03:22:40 +0000
Subject: Re: Deprecate and remove case-insensitive constants?
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-100657@lists.php.net to get a copy of this message
Hi Christoph, On Tue, Sep 12, 2017 at 10:04 PM, Christoph M. Becker <cmbecker69@gmx.de> wrote: > On 12.09.2017 at 14:52, François Laupretre wrote: > > > What about making PHP 8 100% case-sensitive (except true/false) ? If we > > announce it years in advance, it is possible, IMO. > > I don't think we can do that. Consider, for instance, ext/gd where all > functions are actually in lower case, but I've seen a lot of code > written in pascal or camel case to make the functions better readable, e.g. > > imageCreateFromJpeg() vs. imagecreatefromjpeg() > Consistent function names at the same time, perhaps? https://wiki.php.net/rfc/consistent_function_names -- Yasuo Ohgaki yohgaki@ohgaki.net

« previous php.internals (#100657) next »