Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100552 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37566 invoked from network); 12 Sep 2017 21:02:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Sep 2017 21:02:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=cmbecker69@gmx.de; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=cmbecker69@gmx.de; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.de designates 212.227.17.20 as permitted sender) X-PHP-List-Original-Sender: cmbecker69@gmx.de X-Host-Fingerprint: 212.227.17.20 mout.gmx.net Received: from [212.227.17.20] ([212.227.17.20:59600] helo=mout.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 99/D8-10715-65B48B95 for ; Tue, 12 Sep 2017 17:02:15 -0400 Received: from [192.168.2.106] ([79.243.117.113]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lwoiq-1dKzOs3KBM-016MqE; Tue, 12 Sep 2017 23:02:10 +0200 To: Sara Golemon , Stanislav Malyshev Cc: "internals@lists.php.net" References: <5a9001ea-2a3c-8ea6-d5ef-1da326009414@gmail.com> Message-ID: <0f990f81-4358-e44e-f921-0f32cf0a785b@gmx.de> Date: Tue, 12 Sep 2017 23:02:14 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:egtcIBabZoFW7B5KtOualR1+WddVq0/0Jim+fl5+IJ+EDqQAtPU HpeuH5Bo+wkSMT2atIDqm+bDVkyGa234Lb7RzgsoPJGJw+Xk/DDr9U7OT16jDag5zRhq3up iKoNqsmqoY0ZVKKVDcoXrDUiXNHhj4P36NCngFzFadLk6uQ3oR4wX/AcrwyJSvYrK7jzH0h gAyMGHfIFsR82L9gsoGIw== X-UI-Out-Filterresults: notjunk:1;V01:K0:B2ZlsHWEXts=:rBLwHO5LPSrzEFfHss4mqX +w9nuoD3MmAxs9Q7L6GBz+ffXoojlkv8EtjaUYm6IjIlBAa4hUyVnB7pLwa7U4psKAz7BmULu oG6CAZo09u9VO6VORUbBTr3Z2M7Ay3sKQX+6cxpXP5Q5UH7+2hZiFbPcG2XpO5VKOqDuFUMb+ UhtvtyMlXchwG6HYjDAiYlefapuQPB1dHZ4J9x7MeWKG7kvKdIzwWDY2Qf0Ca4eeqoIQKV8WG M1lQSbqp0P4TMwThQe8d8XGBy9CdzAcHIsAa66MWdK6sXjV9RspNN2SJ3Kpp+1tQZsEk5qXty Xjbfyrb4n0dwBfOpq5GnsPG3nYykzBNmZ1BGD83z5cquIpzlw2Jt5fuDPk9PjTSpi1qNFlZaz X3dIXGtzz5qHkWGWAU1Y8MDNKa6WpAmolIkVAtyNKjF8PHcZwhlLYn8mOb1XVAkLGbsHC1gY+ HHPa7CwWDZi963lvCUVaIutatfSrcVXUQ7m0Q7On4aDMstTZGX4TZXETZrcPvaw0VLu1D8kc/ 6FHcH8LdxS0ZiOh9WruaaWkCr/Wr4mzog1f+IJXOPWt8K7rTK057Q2akqhioEC/lhqT8Zpdr4 OWui0szfB/CHSTcHsaZnx5Hg2r44kTPBhBqYCRSFdMzmJyRGJqrlseeZTku1aLkeykW5Cbx7p wk/QOAmprBQh5/lS5gYhR2eDFKknfFWlwyvIV/K6um70UDA79DN5d6lhF2x4cxR5T2+hkRgpN B7TQ9ObneBLH5I4rMlOv4g/To33P2JhmNwGaBRNPMgLHMc7rk1hSQV0pd+SkspZh3gwEW/fW0 r+guB/ELOCFPTEjVnZijhKT73peMz8DOeV2f/U/sD+L/1kSrDM= Subject: Re: [PHP-DEV] Deprecate and remove case-insensitive constants? From: cmbecker69@gmx.de ("Christoph M. Becker") On 12.09.2017 at 21:55, Sara Golemon wrote: > On Tue, Sep 12, 2017 at 7:43 PM, Stanislav Malyshev wrote: > >> I'm worried about TRUE vs. True vs. true though - I've see all of those used >> around the code (not tRuE though ;) and breaking that would add a ton of >> meaningless work to maintainers without any upside. Same with NULL/null etc. > > We could always special case these in the lexer, or during > compile-time constant folding. I agree they're a concern (and already > noted as much in my previous reply), but they're an entirely tractable > concern. Sorry, I forgot to mention these special constants which are reserved words right now. Of course, these have to stay case-insensitive, and we simply could promote them to keywords which are case-insensitive, anyway. -- Christoph M. Becker