Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100540 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2978 invoked from network); 12 Sep 2017 14:04:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Sep 2017 14:04:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=danack@basereality.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=danack@basereality.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain basereality.com from 209.85.192.169 cause and error) X-PHP-List-Original-Sender: danack@basereality.com X-Host-Fingerprint: 209.85.192.169 mail-pf0-f169.google.com Received: from [209.85.192.169] ([209.85.192.169:34581] helo=mail-pf0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C2/93-10715-079E7B95 for ; Tue, 12 Sep 2017 10:04:32 -0400 Received: by mail-pf0-f169.google.com with SMTP id e1so18860455pfk.1 for ; Tue, 12 Sep 2017 07:04:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=basereality-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=6iEjAELAhh346z2IkRzE20l2oBrldihGmrtwV2S4FtM=; b=V5dXmhncVHMj9f65S2l5157lye16B8OfPNaayet+4Ynz9ywe74/9eZEcTnSRpP9Ryn kMfjJHevpLJ9SzZFPOkVR+OKjWtL/S0NboTon5tsyyFCVTok/dzsJQAOUngNJ2a8hitu XredqD5kbOf4ciiDAFhAoCH3ced8O6vV+r9JqD+YcBVsYV+o0sVsUa743ItTOOOoJMlF 7A474QELGvp+mcJ9sWH7D1YCoRTzVCaJtGpl7j0nk5gdpZxG9xzLWBkE5Z+rDgGf3iM+ PzJ6RsFmKIqMWMU6tZuUjiIiCZ0JijzQDJRQhnksd9I4iqpyjLOnjpFKejRZ3V2Rzi5Z F3wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=6iEjAELAhh346z2IkRzE20l2oBrldihGmrtwV2S4FtM=; b=m1OGwN6veZJdOlGsAFsafHlbiNuiZkwp7s/wIPwnad6xg2p2t0QbOfuz51x/LyHSoh CGprq6IYHWV2mTJJX5b0jOvSlY2p5+gLOSg6ZZJ5k+Lxw/uhBS42XhwZepM9byu5lU09 jDgO74hbxSQBAqzJmmDCl89ZKSYL1C/cIKmcT4grPK1vSboDK8XosBCo0iVnsEk/OTFK pExGESYfZGqFhLkP3ed1/NLiuRProKwztKQLvMmKmTnk2lGphN/EccyGDuPUxFUig8xX CGVn9OG85slesk/hvJl2U9H+IPx+GVXTQiha/glUdCWfeZsceBaVkzDzHIZJPkYoBCaT z6bw== X-Gm-Message-State: AHPjjUi7OAS67zjg/p+7DEuSk37XRegSxZSfLbqcqG4BOHm8oragmHiO c55Fp7E7GqDVjpauvd41/1GRcxmg/fMO X-Google-Smtp-Source: ADKCNb6ItTIqIAX7iW8lg+83Klp1lVuOSsJgJcTlwiMfZq7+J4N5DCMv7FTVAzulp4vLVnlsYxOHXpJiaaGdFI5gvmk= X-Received: by 10.84.238.141 with SMTP id v13mr17866948plk.349.1505225068850; Tue, 12 Sep 2017 07:04:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.180.133 with HTTP; Tue, 12 Sep 2017 07:04:28 -0700 (PDT) X-Originating-IP: [81.143.203.71] In-Reply-To: References: <6601584d-c76d-4ed7-b4d6-b95e1b401cae@tekwire.net> Date: Tue, 12 Sep 2017 15:04:28 +0100 Message-ID: To: "Christoph M. Becker" Cc: =?UTF-8?Q?Fran=C3=A7ois_Laupretre?= , "internals@lists.php.net" Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] Deprecate and remove case-insensitive constants? From: danack@basereality.com (Dan Ackroyd) On 12 September 2017 at 14:04, Christoph M. Becker wrote: > > 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() It's pretty easy to imagine that if we had function autoloading, creating an optional small backwards compatibility shim/library to work around that problem would be pretty easy. It's also the type of error that would be easy to add a deprecation warning to in a late 7.x branch. cheers Dan