Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111282 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 55868 invoked from network); 2 Aug 2020 17:05:09 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 2 Aug 2020 17:05:09 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 3150B18050B for ; Sun, 2 Aug 2020 09:02:20 -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, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11olkn2017.outbound.protection.outlook.com [40.92.18.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 2 Aug 2020 09:02:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=G1pIr32bFU6C/M+IiGc/Mi4KyeISDxX4rpcZmF6tIDqY7lSo6cWqrMJc2NM0WxXpqBNqcdT8E9FVSK4rNPSfFBq7o+BYXcARSYVVNcb3ponK+kBgJdwGyseCrILXTtP326KvakIvBxtvtRZ5BQMqELAuZ7jbbJVjS6hSqJPhDiMrlvEKkXNGBQNkNw5u9ef9oQ+n75c+bPFDuGHNId0NUGXbzT6vmn2q/aRiQuYPFaWhtrgCJD0PbDpwpIGZKqxr5/BbGT4wyeZuSdyY0Izo6lIDhx3yeoJgNZmU1eM3uhX6tP89T7owOH9RNFfrxXHvjJ/axZ4FHg4PiAfQJd5eoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4EcfRgsvboggYnodJ7PURoWz/zwFyMRUL637/AnGays=; b=F48GYuzJ660eW6IxyPlvAfdrZnQVOILbAmn5jRIVsHL5wu8FuKIl9MPk5Plik3lTOd410dt40ltf+2rWQdKxt9EoQ9XfYbqIYJ/Zf1mQr3xpDQ5d5FKFGknlY24xV8EThtu2vnH2M4TwPW9+Z5Hfn57PzOxEcoWTtr+y25zGYoxEssOeGcyb6AGD5jourajb+aQst4N4XIjyRZd4WaTEsC6Y4JBakA0SlpXcTQhV3F0VxJI1lNuklJgM+AKwC3zId92oyjU09ggrTgJEmx/pBrUTqpp77K4lLI8WKlgwlNfbUiRDb0a5q7sxAoEvRy0ZUvV4xM0eJen96YEwKUOIgA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4EcfRgsvboggYnodJ7PURoWz/zwFyMRUL637/AnGays=; b=lTnBmjQqv2fjrSgQLZj1LfvIQwVUrtAxMqrXTNF1VOl4+p4MRt8naWC6fZbM2+Dx6L40FKaTnqvdhCfbXTZ33TwW/UgVLzY8Yt0Tj2l/zhfMCT4B5VFBpGZ/fHNSHbwzkLdmUkY3FH1nDE8c2+99/AFhE9ahIOmsd1fTO75FIZI4/5cW0/rHgu1TYlZg3QGeXs6Gw1taYZ9Te+7z4oy7JmDNFp+sH+zrHQSL4ClrFXOIaJMZeAHwi/OEMm20I7v6IuDjFSKtOBNXAG47FhRgdYJFJnnBrJN1aNdF583AqvPsThDcQa+irIx8Xpyv24VsaVnPE36bhOtw+5huHQ2Yig== Received: from CO1NAM11FT032.eop-nam11.prod.protection.outlook.com (2a01:111:e400:3861::4a) by CO1NAM11HT183.eop-nam11.prod.protection.outlook.com (2a01:111:e400:3861::285) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.20; Sun, 2 Aug 2020 16:02:17 +0000 Received: from BYAPR05MB6535.namprd05.prod.outlook.com (2a01:111:e400:3861::44) by CO1NAM11FT032.mail.protection.outlook.com (2a01:111:e400:3861::218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.17 via Frontend Transport; Sun, 2 Aug 2020 16:02:17 +0000 Received: from BYAPR05MB6535.namprd05.prod.outlook.com ([fe80::fc6c:38b0:fa18:f355]) by BYAPR05MB6535.namprd05.prod.outlook.com ([fe80::fc6c:38b0:fa18:f355%7]) with mapi id 15.20.3261.014; Sun, 2 Aug 2020 16:02:17 +0000 To: Derick Rethans , Benjamin Eberlei CC: Joe Ferguson , PHP Developers Mailing List Thread-Topic: [PHP-DEV] [RFC] [Discussion] Shorter Attribute Syntax Change Thread-Index: AQHWZO4EZIMJMorBK0qxy5SLq6JXCakdwKYAgAcyfACAAAiCUw== Date: Sun, 2 Aug 2020 16:02:17 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:67DEE88361825AEEBD727A7E9718FDB35069818B4B3A4FDB3C3D8519A61B94C4;UpperCasedChecksum:8DF3AAEC499EAC76E600B37DB060ECDDBA9FB164CAB1807705B78DCA3262266F;SizeAsReceived:7190;Count:45 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [zonK3ORsjPXQTHnjujPuSRTJLtOPc7mH] x-ms-publictraffictype: Email x-incomingheadercount: 45 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 70c8c06c-c5d4-45f8-2a47-08d836fd6e41 x-ms-traffictypediagnostic: CO1NAM11HT183: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8AfeNbV5iuvp9P23WDhHa0NF7F3XSyPuiBtjwTOtv6fCCN59BxynuGyJb9iU8rVDGfDqwX/1hAVfW0Le7KOWClU6VpXaKqmPyTx7mfRs8glvFJFnPNrOZLk23qPBUCji8HYbEXoXu6LSk58EodMpZv0qWyjwymi4FuwM/DqRT371Lf5ZSKrLUtF3Oam7c1zrzeC3Ngb5SpZBDEQ6d0u4qWihfho8FtUiNbLhBaraAPxD9/9VGTgCj2v14pXXtHAH x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:0;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR05MB6535.namprd05.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:;DIR:OUT;SFP:1901; x-ms-exchange-antispam-messagedata: x1wqjJfxqwLsvQOEwKJ/h5B8d9PW+1+n704SN9o4LQswsPlHcJXdpMundJrTM1wD27Kz4TwfeNrJoF1VWlC1dw5l4xrFbsbzuISDLVMBYo8L0Z8ODWiTOuJp68JaKrXumz9/ZpFDWNjPJwmMpuctjw== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT032.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 70c8c06c-c5d4-45f8-2a47-08d836fd6e41 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Aug 2020 16:02:17.6515 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1NAM11HT183 Subject: Re: [PHP-DEV] [RFC] [Discussion] Shorter Attribute Syntax Change From: theodorejb@outlook.com (Theodore Brown) On Sun, Aug 2, 2020 at 10:06 AM Derick Rethans wrote:=0A= =0A= > On Wed, 29 Jul 2020, Benjamin Eberlei wrote:=0A= > =0A= > > Personally I favor #[] myself, but there has been a vote with a=0A= > > substantial participation choosing @@. Overturning this democratic=0A= > > outcome should require **significant** technical arguments, otherwise= =0A= > > this RFC would provide problematic precedent for any RFC to be=0A= > > overturned by arbitrary revoting.=0A= > >=0A= > > The arguments the RFC brings forward don't convince me that we should= =0A= > > pick #[] over @@.=0A= > =0A= > However, one other thing just came to light where the "Shorter Syntax"=0A= > RFC was unclear about: no longer supporting grouping.=0A= > =0A= > Changing the accepted << .. >> syntax breaks something that=0A= > was accepted through "Attribute Amendments": grouping, as per=0A= > https://wiki.php.net/rfc/attribute_amendments#group_statement_for_attribu= tes=0A= > =0A= > The switch to @@ does now not allow for this, but we haven't spefically= =0A= > voted on we wanted to get rid of grouping. The Shorter Syntax RFC does=0A= > talk about it in "Verbosity"=0A= > (https://wiki.php.net/rfc/shorter_attribute_syntax#verbosity), but=0A= > that's not a technical reason, just opinion about readability.=0A= =0A= Hi Dereck,=0A= =0A= The Shorter Attribute Syntax RFC explicitly mentioned that the @@=0A= syntax would supersede the grouped attributes proposal: [1]=0A= =0A= > this proposal does not conflict with the Attribute Amendments RFC,=0A= > with the exception that if the @@ syntax is accepted, it will=0A= > supersede the syntax for grouped attributes.=0A= =0A= This was also documented in the Attribute Amendments RFC itself: [2]=0A= =0A= > This feature would be superseded by any other RFC getting accepted=0A= > that changes the syntax.=0A= =0A= I agree with Benjamin that the democratic outcome of the vote between=0A= <<>>, @@, and #[] should not be overturned unless there is a serious=0A= technical problem with the implementation, otherwise we set precedent=0A= for someone to overturn any RFC by arbitrarily re-voting until they=0A= get the result they want.=0A= =0A= Best regards, =0A= Theodore=0A= =0A= [1]: https://wiki.php.net/rfc/shorter_attribute_syntax#unaffected_functiona= lity=0A= [2]: https://wiki.php.net/rfc/attribute_amendments#group_statement_for_attr= ibutes=