Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110358 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 51084 invoked from network); 4 Jun 2020 09:21:03 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 4 Jun 2020 09:21:03 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 806DA1804F3 for ; Thu, 4 Jun 2020 01:03:24 -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-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-io1-f53.google.com (mail-io1-f53.google.com [209.85.166.53]) (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 ; Thu, 4 Jun 2020 01:03:23 -0700 (PDT) Received: by mail-io1-f53.google.com with SMTP id p20so5263896iop.11 for ; Thu, 04 Jun 2020 01:03:23 -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 :cc; bh=Xt434XRcvakvlaKG3BeczMxSp5NMWEWgq0hBKfTMfUg=; b=ACOovmaLA9MYbVrmO0e5v4DBW/oICD8jfSr3TG/PLMWjrSlybV/RmyB9FNo+Wed/ia joHogTuj8Sf80xAou3uVWpWlaL0hnsMfeG54wdbBcW1IGizI+QDhrTEnxQKeujJZddYN kN9G+4gyHwW393FcWAOufjv92JcmSQHHSa6oJrLIPf+dOP19iY8bntzIsS4g3p9h2Ngn /f4d18FO0G0zp0//YwF81tYJQMGgf7U0+CCzyA+nL448VzR2+BdqGmHIvrz9N8S9NjZH KKlDsb5M0G0H6uZRH7+1GN/x8/h006UT26aqitH0jLHDbEua4R1cRyIXBKiMPZ0GoczY mW9g== 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:cc; bh=Xt434XRcvakvlaKG3BeczMxSp5NMWEWgq0hBKfTMfUg=; b=IKTXcWarFeiI6fjxKHQUftnHxaZeJRVQMUO6EzrThip27VndjiydwoGSLAPiR0bX8d f/eEJks96SvM6TPoJTyflnpuiEqg14kadfGLYS1/TWD1j62lY60xh6Rgm52lnbrFraxg Kr9Gsobh669ucOaJVSA/Eb5QXLQ8elDONBliv5VT1NP130GtrLQxBhQnDxrJZI/JV+9j TgVa9U18vlqQdRMGj//JHzFKhNIU0Zv7IzBbt1sLf/18SW1sU8W9bxKJhYwgauzBglis 9PUD4O/ye3wfzMZ2e5BncgpRIadvEEtJFi0C2wd8zwDfBLo61WBGVynIOnQ3VfXP5PdA tppg== X-Gm-Message-State: AOAM533wF0u0dLVJVWzdyhbkeh4hPCDfs99rSPdujxYhyybaZRl9U+Er 3yPgpPd2xgH7dpVaQC8iF1mtJWhI X-Google-Smtp-Source: ABdhPJz27gmYaJn5FDAc03G9lcKxcAz2yLh7FlOTGdj7FcOEcV7v7jC8Ceos6tJmsihpFs1Yr4fb/A== X-Received: by 2002:a5e:940b:: with SMTP id q11mr3132574ioj.76.1591257799771; Thu, 04 Jun 2020 01:03:19 -0700 (PDT) Received: from mail-il1-f172.google.com (mail-il1-f172.google.com. [209.85.166.172]) by smtp.gmail.com with ESMTPSA id w78sm1072269ilk.14.2020.06.04.01.03.18 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Jun 2020 01:03:18 -0700 (PDT) Received: by mail-il1-f172.google.com with SMTP id l6so5217058ilo.2 for ; Thu, 04 Jun 2020 01:03:18 -0700 (PDT) X-Received: by 2002:a92:ce47:: with SMTP id a7mr3044841ilr.288.1591257798155; Thu, 04 Jun 2020 01:03:18 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 4 Jun 2020 09:02:42 +0100 X-Gmail-Original-Message-ID: Message-ID: To: Theodore Brown Cc: internals Content-Type: multipart/alternative; boundary="000000000000ce3eb605a73d93a2" Subject: Re: [PHP-DEV] [RFC] Shorter attribute syntax From: phpmailinglists@gmail.com (Peter Bowyer) --000000000000ce3eb605a73d93a2 Content-Type: text/plain; charset="UTF-8" Hi Theodore, On Thu, 4 Jun 2020 at 00:55, Theodore Brown wrote: > https://wiki.php.net/rfc/shorter_attribute_syntax Thanks for creating this RFC and for including "Comparison to other languages" in it. A provisional +1 from me. Does the PHP parser prevent us from adopting #[attr]? I presume C#'s [attr] syntax and C++'s [[attr]] are impossible due to PHP's short array syntax. Peter --000000000000ce3eb605a73d93a2--