Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111042 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 96239 invoked from network); 16 Jul 2020 14:08:04 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 16 Jul 2020 14:08:04 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 56BF41804D2 for ; Thu, 16 Jul 2020 06:01:01 -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 NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10olkn2097.outbound.protection.outlook.com [40.92.40.97]) (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, 16 Jul 2020 06:01:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RHjEE1Ob9mZPE+szhxNsTuOUiU5kGs0lZgKyl9b1Q82kaE2a8qaBYjiL71fCHulCQ1LSOC0PfAuTB1v4sA61RrV8p6pS6dbG5aQ5WhTaXcf4icjrkXvWaz0ffwg0ROGdn0tQcVLj7/8nF3qF0VKW4R93QRhFlCJlQD4IdpsSZUinHZie/u8B03mSjc1o51Rcb3YeCuJN/k9iuBhMzVZxJR/mnb8gz37DQJtZjDv7l6q8wZVn4C0sBTM1hZHB4k6FuO8PmsPXRi6zp/9BzqoBHN+LOuTjTWuuHLsJqhiHSuImgR8ktSpOGapmHvG176bGSYToIyT5xfNKeLdNCVVqVQ== 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=5bCMzl0E7v7+1Ij0oFP9wwZpL6ycVK7dtn8NWgLuFl0=; b=n2ee/WFy7Enke9gLU50C5zuCDDTF4Ukute23dF5+7l/mACjmgFHtRr3RFzA6f6MDqV0LCV5XAiXel82L/Y083zgxOYDZzNWmRMOGebDxCrXU9IvsYyNzdzjuMqh+mo5+1C9DlZsQ19SdnmcIDAAnTlMBnMUhPr2Dgs6uCYFbu2MviJicSJ+VzR5/Qz12JFMLtdox5oJsEB7WvQExuhhERZQyhKipR48fCzU6NCpwWuP3Q/GG5QoQ/cAH5hlG/9gHjX/uhUokTuwrRieVZSgcGvSzzFPXVOpgAb62DZ1NERBzzCtzDl3gHFAs//LyCBZ41XneY1CnrZwMzgSt+BRTsA== 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=5bCMzl0E7v7+1Ij0oFP9wwZpL6ycVK7dtn8NWgLuFl0=; b=WsDhhcimvN4Rujvz0re2ws+T2rlDSnFLzDvrNIGcRZikADrq2xNKkVAFR9z/3widSQ5mg+O3v5c3vU94vSENcTRrXqGHM1N+dEoAHUQl2MDFwjUEI77wyuHwiK0UDYxh2lZCtMIQv4/UW4WJTGVey88MyddtE40mjTCgCfd09XcgrqiMOZIy0v31d7lEZ2EJFSwDmNJC+jijru7Aaroeg52qCYGy7fUKHAgvmrjWx7/7/e+UtOtEzOVNpTG8G65pCYhGMhd6B4hRLB9+upovX1WFWq3FaMMkQ5CE9HYqjrJMbpK1l6kfR9LudnKwlYWudS5HD4Y6+Lla2HaqM5nsNw== Received: from BN7NAM10FT037.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e8f::4e) by BN7NAM10HT089.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e8f::120) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.22; Thu, 16 Jul 2020 13:00:59 +0000 Received: from BYAPR05MB6535.namprd05.prod.outlook.com (2a01:111:e400:7e8f::50) by BN7NAM10FT037.mail.protection.outlook.com (2a01:111:e400:7e8f::265) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3195.18 via Frontend Transport; Thu, 16 Jul 2020 13:00:59 +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.3195.018; Thu, 16 Jul 2020 13:00:59 +0000 To: Nikita Popov , tyson andre CC: PHP internals Thread-Topic: [PHP-DEV] Re: [RFC] Treat namespaced names as single token, relax reserved keyword restrictions Thread-Index: AQHWVf3/QwyHVAJ940muT+Pot2ye3KkG0QMAgAKnHQCAAGtPAIAATHuw Date: Thu, 16 Jul 2020 13:00:59 +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:FC7111FA5ECEB09EBDFC39D12CC46B6D877A6624B3681989210DE903C428676D;UpperCasedChecksum:0F338388FE4D32CBA2F2488E77451B6EA03CC7B0F3AF93B41FDEA4C2823D793B;SizeAsReceived:7366;Count:45 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [juKN+QAC9FWVvo7Cpt7mw/OZ+lH/r+d3] x-ms-publictraffictype: Email x-incomingheadercount: 45 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: b73df219-2fba-4f2d-c312-08d829884914 x-ms-exchange-slblob-mailprops: 6H6McBavlAiIep1u9LdGNfDulI/TvIOKWnel7YnM64884npCYRp6C+jm6HQQ22M9JTX9mHyNl6rEOyrMcsnWjZYDPze8UqxAL95D9Dcl4RCSqpqGLQEZ1nPL26PPzi4Q4mTOLZblp4mjQbeyqbQDWZGMG5N7kCAkWN2vcPtYrQWSPMKEu0dMiJrWQwbLEzv8yR7qZWjPypNUdOo1sUWQHW7UlZCkWIjws4REBz1quRrk9QV196KMym3xENnpc6Sw2IsHic/UaZIpfaQ3YGzyg/9rOX4d0CvUP994qWzzECKoubfxPRf97Tgy8DBI8YM4wDe5e0lyGARjx22HIU/LrkwXFjm73lEhrhM3NG53zlqWIsDbfiK/yRta+V99G89qSXWcLPjwoUuQX/UZq3yye1VUyDM7M8myhaSVCNOaEB7282cZyct53aKbiU7eOJz3BCsjXHHl0JHr7NeaDbrF18aPfhbxF6QpSzgf4CSClUXbEMeMcTtDiRpvCMrRoqaNa2fgxjHBsFiSuquv9Zx7+oZyqByUq4stTLl9jFyexuH/8X97IC5wAEmaerczVPD2jrJTdtRLbbrGxs13Vkb8ekidBwrzs1/Y5bmvGZ/iqrh/nWT/Nh4oE5X2cijg2dm49brmRiKusMIKMfKeAGWdX+aJYzlOU8m7VRhoXWhawLDAVOIgr0KjLr1SBKPtXBL2LxBe0SNXxhujjwjQ5xlk6PAVrnzjh94vjpgrKaMFEH7D6KCq/xWWupEmb67yjdi0Sre23iPlATk= x-ms-traffictypediagnostic: BN7NAM10HT089: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: mb9X48V+G4+gK60EP8hRfcQWH4kDRv4FfZsLFvxrZQ8IfcbhUN3uoBVF5XZ26dGiZlNmTz2KLlhQdaJ1wV7ojSCZtf3GtL5BXsvgaZbpPQFLGovDeErM5gStbSWttoRlG2s3Ca85IgkRgQLCxiXWGaS7o0ZMEF0/SPuqRxGxuS9A6qgy93yuj47kEoHv06WzJCEI3GwKvXB8TDWGFCxb8g== 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: 61AtAmw5Hg+8SLsGrT9dWSpPms2UmuVXCjR4W37kGHWTKXFHPhf9Z8zqeJa+AHXA9mpRs7frMqfUDJWiUmEdr8O4H7DIZyhEV86HPfT1BEBXJpyi3fYEFe5kw/nhDYklmCyD1GQk0IL5cBCTJvCD5g== 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: BN7NAM10FT037.eop-nam10.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: b73df219-2fba-4f2d-c312-08d829884914 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jul 2020 13:00:59.0704 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7NAM10HT089 Subject: Re: [PHP-DEV] Re: [RFC] Treat namespaced names as single token, relax reserved keyword restrictions From: theodorejb@outlook.com (Theodore Brown) On Thu, July 16 2020 at 3:04 AM Nikita Popov wrote:= =0A= =0A= > While I don't think anyone had plans to mix whitespace, this is=0A= > indicative of a larger issue. While I'm one of the people who voted=0A= > for @@ as my first choice before, I wouldn't do so now (even with=0A= > this RFC accepted). This issue made me realize that there is more at=0A= > stake here than just "which syntax is prettier?" and choices that=0A= > have a "closing tag" are technically more favorable, especially if=0A= > we consider future extensions of the attribute system that may=0A= > introduce additional ambiguities (e.g., Rust allows placing=0A= > attributes pretty much everywhere in code -- how sure are we that=0A= > there will be no unanticipated ambiguities?)=0A= =0A= Hi Nikita,=0A= =0A= Can you think of an example that would cause an ambiguity even when=0A= namespaced names are treated as tokens? As I understand it, there=0A= can't be an ambiguity, since there would always be an attribute token=0A= followed by a class name token. It should be possible to put this=0A= anywhere it makes sense without ambiguities.=0A= =0A= Other languages like Java allow attributes/annotations in more places=0A= than PHP (e.g. on variables) and the @ syntax doesn't prevent this.=0A= =0A= Theodore=0A=