Re: Deprecate and remove case-insensitive constants?

From: Date: Thu, 14 Sep 2017 15:37:29 +0000
Subject: Re: Deprecate and remove case-insensitive constants?
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-100595@lists.php.net to get a copy of this message
Le 14/09/2017 à 15:38, Alain Williams a écrit :
I vote for making it case sensitive: simpler for the parser; the programmer rapidly learns that it should be 'TRUE' and not 'true' -- job done.
No need to force people to switch their code to 'TRUE'. Just supporting case-sensitive 'TRUE', 'true', and 'True' (the same for false and null) should be enough. Not supporting 'tRUE' or 'TrUe' anymore will also be a positive side effect for code readability. Regards François

« previous php.internals (#100595) next »