Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83121 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45792 invoked from network); 18 Feb 2015 21:05:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Feb 2015 21:05:24 -0000 X-Host-Fingerprint: 77.193.237.4 4.237.193.77.rev.sfr.net Received: from [77.193.237.4] ([77.193.237.4:12781] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A8/9A-25021-19EF4E45 for ; Wed, 18 Feb 2015 16:05:21 -0500 To: internals@lists.php.net Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes References: <3FCFEC72-64AD-42E3-8512-E3DACDE6FBD7@gmail.com> <052A15EB-E546-4FE3-9316-506931574948@gmail.com> Date: Wed, 18 Feb 2015 22:05:07 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable Message-ID: User-Agent: Opera Mail/1.0 (Win32) X-Posted-By: 77.193.237.4 Subject: Re: [PHP-DEV] RFC Proposal From: bensor987@neuf.fr ("Benoit Schildknecht") Hi Tim, Le Wed, 18 Feb 2015 10:44:20 +0100, Tim Bezhashvyly = a =C3=A9crit: > Dear internals, > > my RFC was not about dropping just class constants but constants in = > general. Now I realise that you are not ready for this and most likely= = > will never be. Thus I=E2=80=99m withdrawing my proposal. > > Regards, > Tim I'm totally against dropping the constants. Constants are one of the fir= st = things you learn in PHP, and they are literally everywhere. This would b= e = a major BC. Even worse than DbC, return types and scalar type hints = altogether. But the immutable variables are interesting. As other people said, you should proceed step-by-step. I can perfectly s= ee = the immutable variables pass, but not the removal of the constants. You should explain precisely what you have in mind, so we can discuss it= .