Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79875 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4180 invoked from network); 23 Dec 2014 01:22:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Dec 2014 01:22:39 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.180 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.212.180 mail-wi0-f180.google.com Received: from [209.85.212.180] ([209.85.212.180:55782] helo=mail-wi0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D1/00-04044-CD3C8945 for ; Mon, 22 Dec 2014 20:22:37 -0500 Received: by mail-wi0-f180.google.com with SMTP id n3so9514497wiv.7 for ; Mon, 22 Dec 2014 17:22:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ljbA+cVIFalTWr9L3/C3gk+ZdgtjLYKerrflKF0IgE4=; b=R1B5/xRQ79ESnWlwcQXSOKDC3hbBz9h2vSHvLItcIok4qNAowPSsnYeKATVXPGLGf7 B9RU3Oe4UbiWRsmuvzQ2TBXD0RWUJRDD5CDnnhB3jLFH3moyIAQijEF2jx68SXaFnxzp XAVdlQ4BYO0w50h2kNIjWbpe6l9EOlelbxZUOrkt+FqrJPi1YCuHnsxkL5WSofZp3QNw jKfu57i+TXAOVZTepz0dCJPIu+Ck+EwlJxJvNN4XyxzztdpKjiBwXdnM4TE+qgIL2rwB QdUO1fBfuyYXBP+8do3DdHW0kNEYEQqKcFMQJnjiCg6Ml/vhv3E4w6PAKGrzJKQ+o3yO UkNw== MIME-Version: 1.0 X-Received: by 10.180.98.138 with SMTP id ei10mr36629850wib.32.1419297449440; Mon, 22 Dec 2014 17:17:29 -0800 (PST) Received: by 10.180.88.33 with HTTP; Mon, 22 Dec 2014 17:17:29 -0800 (PST) In-Reply-To: <000c01d01ca0$7e70c850$7b5258f0$@yahoo.fr> References: <000c01d01ca0$7e70c850$7b5258f0$@yahoo.fr> Date: Tue, 23 Dec 2014 02:17:29 +0100 Message-ID: To: nf.laupretre@yahoo.fr Cc: PHP Internals Content-Type: multipart/alternative; boundary=f46d044267fe4dfba1050ad7f0b9 Subject: Re: [PHP-DEV] Proposal for PHP 7 : case-sensitive symbols From: tyra3l@gmail.com (Ferenc Kovacs) --f46d044267fe4dfba1050ad7f0b9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, Dec 20, 2014 at 11:01 PM, F & N Laupretre wrote: > Hi, > > > > I don't know if this was discussed before. So, tell me what you think > before > I write an RFC. > > > > I would like to propose that namespaces, functions, and classes become > case-sensitive (constants are already case-sensitive). Actually, I never > understood why they are case-insensitive. Even if the performance gain is > negligible, I think it could be the right time to question this. > > I think that the cost of that BC break is too high, and will only happen in an alternative implementation (if at all). Putting that aside, if we want to go down that road, we should first discourage people from such usage, and as we never did that(no E_STRICT no E_DEPRECATED) it would be extremely rude to remove support for that in 7.0. I think that a Pull Request for adding E_STRICT or maybe even E_DEPRECATED would have a chance of getting voted in but depends on the implementation and how much overhead would it cost. --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --f46d044267fe4dfba1050ad7f0b9--