Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110379 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 18420 invoked from network); 4 Jun 2020 21:57:38 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 4 Jun 2020 21:57:38 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 771E71804F8 for ; Thu, 4 Jun 2020 13:40:09 -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-ASN: AS8075 40.64.0.0/10 X-Spam-Virus: No X-Envelope-From: Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12olkn2104.outbound.protection.outlook.com [40.92.22.104]) (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 ; Thu, 4 Jun 2020 13:40:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nrgYAm9x7GyQI21obpd6ZQS7sESUZvzrb1ttvBhyiinE6bXXwHRmFI83+nZfUbzxPmC07V1dqEVcAUhFxNuyBcXrAL+MMHVUjvCWR6NLTwfOnFLzw2Pdf5t3JE9spWCognGw35pvwxo8pHIH0grNQquiuGiulTziXoUvHLRnHYEbfz3tJVKnyTjM/0Xryw74SCSoY5YpyixORAKSVNBf6Y8tMBV3tkNE6tqFsz0vpgzmoic0tVHtiO5RMe4uHL988xZq18gTVURLj2PwhF3lTrso1HDEl6/0KJ8g4uFxPZeprSJP2/jUFnaVDH4d6ieEr8CKQ/yTW6XxJ3d5gEoJTw== 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=RclgeQtrGjoNBj19/uRZoqDeqFa2pKRlNNUhJrmY4bw=; b=FfUYqn4gih/vVhCuYQO8bhdQcyX2Qw1x2mVo8YVcMVkzr6RbTZSdsRw3YvCmHaUNOrzEvfM7V62yuu8RboCQtC+RZsDAOYRdM1B26oGrhO2Wwd3KUQS0vz0LUU0gPfdAt3NH+LcJo2BmeVCk2bcpKYj0Nu0X7LazkyNHLvgGXpc8xNXfOQkEFrAftCLVojxagDkxDa0ey8/vx6i9MnUxFHuVUq7zb1EOL1Urpurr+pqL31vMWjm/IJr6W1PFF48pAZpLd1p5CfbwPiZb8rpN1d82AuHqpzjsVYN87JJnkvIcLjmm6bVA8tAgvnB9WJQdi9Vdrzm46HYw++55JWSJnQ== 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=RclgeQtrGjoNBj19/uRZoqDeqFa2pKRlNNUhJrmY4bw=; b=K1H9xAwH7ob7LrFinSAk5UyOtLVYZVmAFNcIT94ty8owggXg6zYvRQvtSbMeN/dqVZxLYOFYos7OxFKOgkE2WAJ8iRyjdmTAz4XZQTVxELLoJW/hZGCxkLAQXB1OCUrm85OYBDQTz7q5HoGg2ly9tJdEdjr343/gYnevTOvT5R4hUpvb49bzS80ffxACm55Cc6dVbqQVdKGAONwsNhiH/FVYHtMl6vDHep8/cldVdQEM/nQPu6RDLt8xek2VD3Xvy8Y//cC+E5dOk2P8jI/SG7AVdR9xbyOE0ioJZKWY2+FbRANQ4CfBywY0u+dYPRceFH0qut1w/VliblBpKUb+gA== Received: from MW2NAM12FT062.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc65::4a) by MW2NAM12HT153.eop-nam12.prod.protection.outlook.com (2a01:111:e400:fc65::245) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.8; Thu, 4 Jun 2020 20:40:07 +0000 Received: from BYAPR05MB6535.namprd05.prod.outlook.com (2a01:111:e400:fc65::51) by MW2NAM12FT062.mail.protection.outlook.com (2a01:111:e400:fc65::370) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3088.9 via Frontend Transport; Thu, 4 Jun 2020 20:40:07 +0000 Received: from BYAPR05MB6535.namprd05.prod.outlook.com ([fe80::54e2:1eeb:fc5d:8c21]) by BYAPR05MB6535.namprd05.prod.outlook.com ([fe80::54e2:1eeb:fc5d:8c21%3]) with mapi id 15.20.3066.016; Thu, 4 Jun 2020 20:40:07 +0000 To: Marcio Almada CC: internals Thread-Topic: [PHP-DEV] [RFC] Shorter attribute syntax Thread-Index: AQHWOgIv0rCwDWp4oECJgOMrWx9MxKjI6UuAgAABI/Q= Date: Thu, 4 Jun 2020 20:40:07 +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:0D0412B40640001B87FDF8D975B6456B8E2420FEA2C50F54E176BB1FCAAFA677;UpperCasedChecksum:C1047BCEC3563532CA256BB7EB981544D2729BDB4626952F738F7734AF1AB806;SizeAsReceived:7020;Count:46 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [e8zy9Gp1w//MGm4CGXHHpT+RIbuG2Oec] x-ms-publictraffictype: Email x-incomingheadercount: 46 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 76aaa35a-d3e7-4f73-377b-08d808c777f4 x-ms-traffictypediagnostic: MW2NAM12HT153: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: hKBIjfqoG2vXgZe7FmXth1uVzlYq7oKfI5L75lROMPdsr/P1hMMM1aAzicHDNQ/lUtBkTwaCyHkEbzRBSQwE0RRPW8Fi+pd0SMdC/nRmZQSWLweDbgffU33/4xPGzeP9sdaY+InygmnXFPyXApH7KVtPO6XyMzeij7lhG8VTBHuZbakXl+eJ3JlFGZ4zniNKu+NZ8Tb0bWXBZCogfv5+pA== 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: YSZ41K7Dc/DAWSPUCGIEWL4HpYk0wZBYoE409pcWckWC4j1JSKQRGGg03gYd9Mqh0irUGpMu8UtK1tIXQMyzbxiDzhB8fnYM80dmaZbIusgShn/GPDbiZa7Dr7FSAG0QoEMaIoRdH6m5Vpg2KJgnDQ== 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-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 76aaa35a-d3e7-4f73-377b-08d808c777f4 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Jun 2020 20:40:07.5713 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2NAM12HT153 Subject: Re: [PHP-DEV] [RFC] Shorter attribute syntax From: theodorejb@outlook.com (Theodore Brown) On Thu, June 4, 2020 at 3:28 PM Marcio Almada wrote= :=0A= =0A= > I'd also prefer any attribute syntax without the bracket-like pair=0A= > of tokens. I'm just a bit confused about the RFC itself and the PR=0A= > content at this point. =0A= >=0A= > The RFC is currently proposing `@@MyAttribute()` and the PR=0A= > is currently implementing `@:MyAttribute()` as the sigil. The first=0A= > brings a BC break and the second doesn't, being the important=0A= > difference.=0A= >=0A= > I'm inclined to `@:` instead of `@@`. Which one will actually be=0A= > on the ballot? :D=0A= =0A= Hi Marcio,=0A= =0A= `@@` is the syntax that will be voted on. The linked PR is for the=0A= original `@:` implementation, but as the RFC notes switching this=0A= to `@@` just requires a single character to be changed in the lexer=0A= and a small grammar adjustment. If the proposal is accepted we'll=0A= submit a new PR with the updated implementation.=0A= =0A= Apologies for the confusion!=0A= =0A= Theodore=0A=