Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100551 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34783 invoked from network); 12 Sep 2017 20:35:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Sep 2017 20:35:57 -0000 Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.128.178 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.128.178 mail-wr0-f178.google.com Received: from [209.85.128.178] ([209.85.128.178:37416] helo=mail-wr0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BC/58-10715-B2548B95 for ; Tue, 12 Sep 2017 16:35:55 -0400 Received: by mail-wr0-f178.google.com with SMTP id k20so24970446wre.4 for ; Tue, 12 Sep 2017 13:35:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=FEpQ7kaOPj1vkfAvYL6NbYLPkkn96E+jqJ+Oyakyjjc=; b=lxU8F4DaTDp0y6irGC1N3ar4bBtfys3lF7xpD8HKGvqWyy3cSOwy70hPwCIRdEP/yh Tx5grpRzvzxABEfaRckmyyV9J73jHttcUx2X1FbJBUM32MFeX77TdQ7Hi3+RqGHBucPu NLpZDlqpcbfkBKO8Z+cYHhpo7X+gDNT7YZ8uSxGgoCtARNgFtufUqHmuAYKkw9kQhAtc OsEAUjnYwMvKIhiqF6cuQNb13ukidqPunWMYz5u55vIT0qn9OAXDPrYqf8pJMJckaRXy rS26y8zInJXZ5EtdDAVNFsb9Lg85GdNW25PEeoAlthXa0GU28LGX4fhJ+6XDW5NRUAin pPFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=FEpQ7kaOPj1vkfAvYL6NbYLPkkn96E+jqJ+Oyakyjjc=; b=Old0c6oQ/z1JLB4oJwSenrIfDDmL84JVQoP6P39l8WJRQ1JWVpPNV5rrXpk+K4HDw5 jIcQnByqTGd1D6fJtKGomPhtI/PlNSZwih7cNgMwMn3uzGTrP3DZbIuNbAa/4bvdTWH1 7AjBQ0vZbSvdMgTv05/rY+yb+HhJx+OyiKV119nn0HQSqSiOUR91DzpctI7ArH3hIBRx +LtBEFKoDNtt3uOTHjY0UfHzFcGFPQM6s9OTeerE2J6RKaMxg9vBOMuNGjHDcZxNktAv 1j/j1y4x8QgvCQTaje4xPHN/MD9HRZUHM2Ds0uEiYWXAsucapkMb7AFq+WcR4vhB3NEG JLsA== X-Gm-Message-State: AHPjjUi2kwWF/YAjxYgSNf0+NS5KKe2AasNA6XzwhHfNPC0fKpC8wKnt aYvTQ+I8kCrAGfz+25sXgHQKGG/yPW3lzC4wTmY= X-Google-Smtp-Source: ADKCNb4ND6ay3c2LrDqqEloE1zmhnVojJkzen9GU7XAHaj/S9CbqEz/OMhWgHU1gFEqTuWOQZ6y/Hz/kYdEcICD347Y= X-Received: by 10.223.169.111 with SMTP id u102mr13328351wrc.266.1505248552667; Tue, 12 Sep 2017 13:35:52 -0700 (PDT) MIME-Version: 1.0 Sender: morrison.levi@gmail.com Received: by 10.28.193.130 with HTTP; Tue, 12 Sep 2017 13:35:51 -0700 (PDT) In-Reply-To: References: <6601584d-c76d-4ed7-b4d6-b95e1b401cae@tekwire.net> Date: Tue, 12 Sep 2017 14:35:51 -0600 X-Google-Sender-Auth: iQkZjEijtGzMKjHcbiCuMiYYMBs Message-ID: To: Rowan Collins Cc: internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] Deprecate and remove case-insensitive constants? From: levim@php.net (Levi Morrison) On Tue, Sep 12, 2017 at 11:59 AM, Rowan Collins wrote: > 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. > > Ah, OK, so I partially missed the point. I'm still not sure what you're suggesting is sensible, though... > > >>> If we want function and class references, they should have their own, >>>unambiguous, syntax. > > I stand by this assertion. Consider the following statement: > > $foo = 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 point of view of the compiler. If it's known, it's known, and it can proceed with that type. If it's not known then autoload and proceed like normal. I fail to see how this is an issue, and in fact, see it as a *significant* improvement to our current situation...