Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100548 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23799 invoked from network); 12 Sep 2017 18:00:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Sep 2017 18:00:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.51 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 74.125.82.51 mail-wm0-f51.google.com Received: from [74.125.82.51] ([74.125.82.51:43582] helo=mail-wm0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EF/F6-10715-6A028B95 for ; Tue, 12 Sep 2017 14:00:09 -0400 Received: by mail-wm0-f51.google.com with SMTP id a137so1633112wma.0 for ; Tue, 12 Sep 2017 11:00:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:user-agent:in-reply-to:references:mime-version :content-transfer-encoding:subject:cc:from:message-id; bh=BfD6qj3glN07mt0/W4Ljv/2R3ggoYNFRtX9AJEHKK2o=; b=naDUZZhtsAZZiLzgI5pUV9LZwZv303HgvNjKe2AvaU0s2wsgmctK/QOgl1vPhnP6Ie IPrroV0aJd8c8cmj47Y7rJCpXMeKWvyrGVBp1kaKwpm3gKJBQNEkt219V54bbtHlQcRJ H6NJE3BdHIamZobPlk0BwH31hBqSRxqgz8+Ao/RjK2Tju0lvQNADiH82vYzEMHXJfr6f pxGTaxBgs6nrteupNQsSdJ6gYJZG5xW7RYDrKNefnS9FCYA+22fNzeTBHWT5fIhJzm9I liDNZf8P5AomDpO9yKKvoEvwHYLP0lwlKQuVsLG2sI8L9ZPE/HHvHPg9XxTFoYdMVe+5 VBvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:user-agent:in-reply-to:references :mime-version:content-transfer-encoding:subject:cc:from:message-id; bh=BfD6qj3glN07mt0/W4Ljv/2R3ggoYNFRtX9AJEHKK2o=; b=DXZM2D2bWIcbK9b9NLWrYLDxDFhAUsaawGCqdmHvRnaR8x3O/ZFoFs5eyD6lIYOOUY RFx0vMSMyTVJLIlwI49FQL7khxqp8+jGaMOdi7SsXQewN0+LgOBjHffsVdhqraoKDBSy fbsp0i5Sbj6CeASSUgEqRnxiNK02YS0S5VBAtFreMFifTzwLACV+67r3rZJW5X15htdf Ag6PJM7PvdwlIwqCCMAymKqphts0Nf+7M1Ts37oTaHpst6ZEVM4mxztL1LKn3vSvCMMs yWbkL+QiJP/MPKer6U5ZfVtI6fKNXN2SImki8YvadaZLQxh8/OzfmG1Bzv+C2Z0POn8T wNrA== X-Gm-Message-State: AHPjjUjQ1TIaA+JjszSVOe2ysSJAdNI/e3n4oDiKa79JiDEumf/8HS1K ETh6NJzmbnvWmMg4b+c= X-Google-Smtp-Source: AOwi7QDTLux+pmb7eT4IwhjpwrkVPUKbkfFDBZu+FGLIaQZrOKwdw+XMCNQqXYQcvBEc+4j3RlqFgA== X-Received: by 10.28.210.72 with SMTP id j69mr328479wmg.75.1505239203738; Tue, 12 Sep 2017 11:00:03 -0700 (PDT) Received: from [10.6.228.75] (188.29.165.191.threembb.co.uk. [188.29.165.191]) by smtp.gmail.com with ESMTPSA id w4sm6327748wrc.78.2017.09.12.11.00.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Sep 2017 11:00:02 -0700 (PDT) Date: Tue, 12 Sep 2017 18:59:59 +0100 User-Agent: K-9 Mail for Android In-Reply-To: References: <6601584d-c76d-4ed7-b4d6-b95e1b401cae@tekwire.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable CC: internals Message-ID: Subject: Re: [PHP-DEV] Deprecate and remove case-insensitive constants? From: rowan.collins@gmail.com (Rowan Collins) On 12 September 2017 17:45:46 BST, Levi Morrison wrote: >The rest of my message only makes sense once you understand I was >proposing unified case sensitivity for all symbols *and* merging them >into one table=2E Ah, OK, so I partially missed the point=2E I'm still not sure what you're = suggesting is sensible, though=2E=2E=2E >> If we want function and class references, they should have their own, >>unambiguous, syntax=2E I stand by this assertion=2E Consider the following statement: $foo =3D bar; Even if "bar" cannot *simultaneously* be the name of a function, a class, = and a constant, it can still *potentially* be any of the three, from the po= int of view of the compiler=2E=20 So, far from allowing us to make nice inferences about function references= vs strings-that-look-callable, we have now *broken* assumptions we could p= reviously have made=2E It seems like we'd just be adding another equally ambiguous way of writing= the same code=2E Regards, --=20 Rowan Collins [IMSoP]