Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111254 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 36278 invoked from network); 29 Jul 2020 20:12:14 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 29 Jul 2020 20:12:14 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id F3C63180533 for ; Wed, 29 Jul 2020 12:08:27 -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-bn7nam10olkn2039.outbound.protection.outlook.com [40.92.40.39]) (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 ; Wed, 29 Jul 2020 12:08:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mGToqR7vDFf38Xl0DDRZYCpKBvsRKLMDXwrNDMSa0KMp4kuxyGBPnwd167KY4s2MaCbRAkR+jewYIL6eYsor2blczpLHfd2Tw86NpaqpEGJhJH/ZBu52RbQVxehP7D+ATdnnSBYKsZXoNmewEDIugZbIwLW8WHqOaEA2OTBnLLp1NletnIZ260jS2hxr8FunU5gQkX6wg8sKbOj6EzkKu1vvcajYqQOJNY92+XxG980c6rJbIBnMxKVMae+U1HuktHPUOUqrosxC3spjE8fd2uImZTdwkkpkeaUFkfDO9y5hMk3U9p6EVa2B1BuIYVK2DRPOFC3RzNriOxx0XsEbOQ== 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=Tn3tSfx+Dzq/byI7xK/uGlCRmMX13vi+tx5BnCIPEYE=; b=jTTVlG2pfQuB8E9k1cv5HyZCPFYHR1mZHlhcDfzmzMMyBEpG0pdOGCVHyPEv0P0gmU5S+RCU6sgoYYQu51VJeTH/08lUroYyskEtR7/7xuFIk9inF6EVqFDc5l4sHGnFFc5KeLS9oIWiANQme9/o0CCwlNGZYwt9zvsvNTm7xVqRJs+Y6DCsItvg+omxgFZ1CZfEEQn5rcrsqkGKijLRKYyCjwfBToJf2/HOVXYcD6U0qETOoglzd68pyR6oAn4RLfix8yYg9jidhtXproXlQAy27BXLhoJjgbAHiFjJZ5Y3TjioiN/E6S5K4RZrpJARkwbLyLm3O5GQSHp6zXfM/A== 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=Tn3tSfx+Dzq/byI7xK/uGlCRmMX13vi+tx5BnCIPEYE=; b=o3/2Q4v6hqMCwL8ZEPEy219uoqtgvGrOTWurJmQGayhzw6y/NWtdNK4iEo5UGIvFmORUS8g7DEOEpdRkBunIaFMAeB/6DDHy6/9Y00E74Q3DcKMOHpDfDVlBgp4Ot4ifCT0lrRgsmDYuJZQ9sYcWxQf+/Xa/aulMuynay+flNOr6M2GjyCNxFPBDb8JhwBQhYEd86p+Jw0hAZRphPvPJ4FaJ5JP31YAKtUlkRbi1NRg3rjeWO6lYzu9k/IgA9tzfL6XMKTJhnJ33KgRVscTO8O+rPE4k7S6ff56n/Cui4ZMxCHrhfVxRC9k3nRVqKd25C8MgiMGE5m0qOxCysop3rQ== Received: from MW2NAM10FT015.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e87::43) by MW2NAM10HT034.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e87::185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.31; Wed, 29 Jul 2020 19:08:25 +0000 Received: from BYAPR05MB6535.namprd05.prod.outlook.com (2a01:111:e400:7e87::4d) by MW2NAM10FT015.mail.protection.outlook.com (2a01:111:e400:7e87::198) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.10 via Frontend Transport; Wed, 29 Jul 2020 19:08:25 +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.3239.017; Wed, 29 Jul 2020 19:08:25 +0000 To: Mark Randall , "internals@lists.php.net" Thread-Topic: [PHP-DEV] [RFC] [Discussion] Shorter Attribute Syntax Change Thread-Index: AQHWZO4EZIMJMorBK0qxy5SLq6JXCakdN4bOgAAr8wCAACScWoAAFkOAgAFOusY= Date: Wed, 29 Jul 2020 19:08:25 +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:B824C1565B9994F6A996B8D67D9C1B7F083C306252DFFA0FBFCD5A987063FC5E;UpperCasedChecksum:DA2C83C01D780B7F8A5993441A0D3B5CA333F6E7606D2F7A5E642C8377D82540;SizeAsReceived:7333;Count:44 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [G3yD2VDFm01XQfC4fe6/qELBp2w33BvW] x-ms-publictraffictype: Email x-incomingheadercount: 44 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: ab87df30-d5b8-4118-432f-08d833f2c54b x-ms-traffictypediagnostic: MW2NAM10HT034: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ZXLmcCPqx6WLhfacjHdkR42CKjBBvlSdeWm19X24PVFa2zXy/b4rExPpoSdNcLJxlMPQqqmrYDAoXEY7Y7/dDQO+3+jOdcMpGFv8Fm2QFvushuM+IyFKDPziEX/xtOnehaTCvm+cN+4NJO+u5RtTHJw0VxgdFDN2/WDDuaEPNsgQ6i8QSuXfc9dbysAs/a4ZzTYMiDWW0VDwiEBiaJlRWK9d1DeB1gXdH7WXcPc9MQIIotSthUVbmFncaYm6Z9WC 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: n6y2oVST3FPqWoatUZVVW5tAQQ5GCMjSGevPcHYaB/OmV3+GRnG5u9d9mYNctsS2QVnbaoicHk8twbxYrWEM+9vVqxgncUBF+fwM2n4Mk1WzIEpfZT4ZJSiNtdSen2Y0Jfgp8yEkb/xDMF6r3+gRWg== 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: MW2NAM10FT015.eop-nam10.prod.protection.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: ab87df30-d5b8-4118-432f-08d833f2c54b X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jul 2020 19:08:25.7651 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2NAM10HT034 Subject: Re: [PHP-DEV] [RFC] [Discussion] Shorter Attribute Syntax Change From: theodorejb@outlook.com (Theodore Brown) On Tue, July 28, 2020 at 6:09 PM Mark Randall wrote:=0A= =0A= > On 28/07/2020 22:55, Theodore Brown wrote:=0A= > > I appreciate the examples. I think there are good reasons not to=0A= > > implement these kind of extensions, at least in this form. I'll reply= =0A= > > to each example below.=0A= > =0A= > =0A= > The problem is your argument comes from a position of... because you=0A= > don't like those examples, we shouldn't make accomodation for them or=0A= > anything like them in future.=0A= > =0A= > Adopting such extensions is a matter for a future RFC, and not for=0A= > preemptively throwing a spanner in the works.=0A= =0A= Hi Mark,=0A= =0A= Future RFCs are as free as they've always been to propose new=0A= additions and extensions. Do you think we need to choose a more=0A= verbose syntax for every new feature in PHP just to make sure it=0A= accommodates keyword flags on the off-chance we may want to add them=0A= later?=0A= =0A= E.g. should we re-vote on the named arguments RFC now and replace the=0A= syntax with something designed around adding flags to each argument=0A= (e.g. so that function calls could support both an old and new=0A= parameter names and be compatible with multiple library versions)?=0A= =0A= There's good reason to believe that such added complexity is not=0A= the best approach, and is very unlikely to be accepted. Preemptively=0A= implementing a more verbose syntax with a larger BC break, on the=0A= basis of hypothetical extensions which haven't been needed in any=0A= other language isn't a good approach to language design, in my view.=0A= =0A= Anyway, apart from the fact that feature freeze is less than a week=0A= away, it seems like voting again to use #[] instead of @@ would=0A= violate the voting rules. [1] It hasn't been six months since the=0A= last vote, and this proposal is identical to the one declined in the=0A= previous RFC.=0A= =0A= Best regards, =0A= Theodore=0A= =0A= [1]: https://wiki.php.net/rfc/voting#resurrecting_rejected_proposals=