Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100657 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87942 invoked from network); 16 Sep 2017 03:23:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Sep 2017 03:23:32 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@ohgaki.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@ohgaki.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ohgaki.net designates 180.42.98.130 as permitted sender) X-PHP-List-Original-Sender: yohgaki@ohgaki.net X-Host-Fingerprint: 180.42.98.130 ns1.es-i.jp Received: from [180.42.98.130] ([180.42.98.130:33644] helo=es-i.jp) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 54/2A-19300-2399CB95 for ; Fri, 15 Sep 2017 23:23:31 -0400 Received: (qmail 40690 invoked by uid 89); 16 Sep 2017 03:23:26 -0000 Received: from unknown (HELO mail-it0-f43.google.com) (yohgaki@ohgaki.net@209.85.214.43) by 0 with ESMTPA; 16 Sep 2017 03:23:26 -0000 Received: by mail-it0-f43.google.com with SMTP id r131so2696326itc.1 for ; Fri, 15 Sep 2017 20:23:26 -0700 (PDT) X-Gm-Message-State: AHPjjUhVFSB5OIs4byRzTrdpKxlZPejS6hG9HIak1O0PmVSmeDZpVykp OTJUace1ZkfhpAF0rY2lWzH+AvnoLiSkDlGaFg== X-Google-Smtp-Source: AOwi7QDpL7dJ/+uD+oQIDuzVXqrgYNk/2u5uuH0yVoFeR2hYU4lsWAqGAQS7YJ7N3+Uimo3jgwSCaZTtCynzWYnujMM= X-Received: by 10.36.83.146 with SMTP id n140mr9375213itb.104.1505532201306; Fri, 15 Sep 2017 20:23:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.3.134 with HTTP; Fri, 15 Sep 2017 20:22:40 -0700 (PDT) In-Reply-To: References: <6601584d-c76d-4ed7-b4d6-b95e1b401cae@tekwire.net> Date: Sat, 16 Sep 2017 12:22:40 +0900 X-Gmail-Original-Message-ID: Message-ID: To: "Christoph M. Becker" Cc: =?UTF-8?Q?Fran=C3=A7ois_Laupretre?= , "internals@lists.php.net" Content-Type: multipart/alternative; boundary="001a114052dc0ea49f0559460800" Subject: Re: [PHP-DEV] Deprecate and remove case-insensitive constants? From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a114052dc0ea49f0559460800 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Christoph, On Tue, Sep 12, 2017 at 10:04 PM, Christoph M. Becker wrote: > On 12.09.2017 at 14:52, Fran=C3=A7ois 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 --001a114052dc0ea49f0559460800--