Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110996 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 50748 invoked from network); 14 Jul 2020 10:17:34 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 14 Jul 2020 10:17:34 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id CBCD8180088 for ; Tue, 14 Jul 2020 02:09:56 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 14 Jul 2020 02:09:56 -0700 (PDT) Received: by mail-lj1-f171.google.com with SMTP id q4so21612387lji.2 for ; Tue, 14 Jul 2020 02:09:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=EEwZD7mwjuoruXhj2tbkye6Y30rPC8C5PlCFIjj/fSA=; b=dtqJEGqQI3DmGcjJgeTmuQzA+eWAxTdj+CqsBe4J+RoRfYYqIJ0ft9t1LcBRtk5N2B POiGPMM2xOmsZM+0P95mmn49Ph3rphsn+GBCCLNnJjqnQ7PP0ssdaYuKj9JdOdXG/b2X ZUUl1E/vxfkOyAg/T5RDxk1sPcFK/oVyVZTEJZ4U7rtpRSjfkOGchew0UQ/YqSK7WYX9 x05egt1z6mAOTUOGQtKYyIxiF7wwM/AWQCMkWZS+EhZrSsCo+UJDfwH9Aa6OGLa5Ccfc mJ3/Vh4Q4VkzdsAX1rz5k6QW3T6C+qApVL1vftsahTHt9/geYHDcDEZx5HSx1PN+GyS5 ZJUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=EEwZD7mwjuoruXhj2tbkye6Y30rPC8C5PlCFIjj/fSA=; b=LYIVSPMb+tUsrxC9iBj2HOdxdnC65jb1d4iyPxQ8wlXrO0Gouy8fGPtySCtWT9rqai gxr0T/mslHXml4bvREl0qmEXxZ3evxBBbQl/DpeS0mwCCmJuqPMgC07N+5Do+mvZNXhQ OHrWbDL/W94/I/mVniZzKCVaFnEejd1SAoKC4GDb3szEdxiCFCwUrWlFO8Y3NabYdmRV AzEtdVSPJO6WztrKgFYgC+d9enFjbYtE12515N9prICej+6eZsk7zSC2OqNTKnqzCHuc Bc4P7Y/7dQq81gxLlAAqnPoaVSlP8dQlESRGm/uaLTf15WrFc/S96xB6edwNIxqU2Ez+ f39A== X-Gm-Message-State: AOAM531e3IKeyI0ujVN+vPwQn1vO8C8rwCv/8xwkJVqEOv94fWsmafq1 xrzZHcsdKADz5yUk8+55nU3jcuLiqwikXEpg/mP8uCXSZzQ= X-Google-Smtp-Source: ABdhPJwqShWZxJrD5a3wvSH315CF3pnHeOJd9LQlHRuwzv8VYOSpgU91o8TzLR9fq5FI8tzLiQ1v99lTMAAEuRfODVI= X-Received: by 2002:a2e:8199:: with SMTP id e25mr1686324ljg.307.1594717794497; Tue, 14 Jul 2020 02:09:54 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 14 Jul 2020 11:09:38 +0200 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="000000000000a878f205aa632b72" Subject: Re: [RFC] Treat namespaced names as single token, relax reserved keyword restrictions From: nikita.ppv@gmail.com (Nikita Popov) --000000000000a878f205aa632b72 Content-Type: text/plain; charset="UTF-8" On Thu, Jul 9, 2020 at 4:33 PM Nikita Popov wrote: > On Tue, Jun 16, 2020 at 10:52 AM Nikita Popov > wrote: > >> Hi internals, >> >> Inspired by the recent discussion on reserved keyword reservation, I'd >> like to propose the following RFC: >> >> https://wiki.php.net/rfc/namespaced_names_as_token >> >> This RFC makes two related changes: Treat namespaced names as a single >> token, which enables use of reserved keywords inside them. And remove >> reserved keyword restrictions from various declarations. >> >> The RFC comes with a small backwards compatibility break related to names >> that include whitespace, but will hopefully reduce the backwards >> compatibility impact of future reserved keyword additions. >> > > I have reduced the scope of this RFC to handle just the issue of > namespaced names, without touching any other reserved keyword restrictions. > As the discussion shows, those are trickier, with more cases of perceived > ambiguity that may need to be mitigated. > > As this proposal is now a prerequisite for > https://wiki.php.net/rfc/shorter_attribute_syntax, I have heard from a > disturbing number of people that they might vote against this proposal, not > because they disagree with it, but because that would prevent the adoption > of the @@ attribute syntax. I'm not sure what to do about that... > Heads up: I plan to open voting on this proposal tomorrow, unless there is further feedback. Nikita --000000000000a878f205aa632b72--