Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121916 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 16300 invoked from network); 3 Dec 2023 18:35:16 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 3 Dec 2023 18:35:16 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 3BBCF180003 for ; Sun, 3 Dec 2023 10:35:25 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 3 Dec 2023 10:35:24 -0800 (PST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A61605C0048 for ; Sun, 3 Dec 2023 13:35:12 -0500 (EST) Received: from imap50 ([10.202.2.100]) by compute1.internal (MEProxy); Sun, 03 Dec 2023 13:35:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= garfieldtech.com; h=cc:content-type:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1701628512; x= 1701714912; bh=2NJmnsNi46Bwmmx67lFgLgs+20ehw+2mDUXxgAXL/IU=; b=S XVetKtYg8umiMprwDLzFHg2akKmwNqWtD/T5FusnMWHtm9h856w0SA1UibLnrLNk tiY9PuiR4GtYk+xZ3ZXGcLntvA3/VlTT4/gi6PE3+ui58Rbtx5eZbbwhxr60IBqo 2BjhaojoECUaUxem8vExIVheD0a8JCSynXuUi2/c8GHsHe4oXRTHHgCIpQF09kJu ggqJdj/zsxF/hdDrFLLE1eY51rsbA+mlZuRm25LhUGj+TZRuAx+h1HAfj9pX+oLF xbE7e9JPZYxaBg+MrjfHDWsuBpOkYryMJsb5s+zNVBv4ibe4atqT3iECZX+KT11D /jzrQs53QmRJZWY+zjMXg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1701628512; x=1701714912; bh=2NJmnsNi46Bwm mx67lFgLgs+20ehw+2mDUXxgAXL/IU=; b=GQeGau5lZKnUGi29bhGFkt41GxiZI hkw655MYU2/w0VL3Ia1PgDkcXwlYNLNGPoKDP+EtsojSbtfwIZ0kNCd19XqFFfM6 Egc44DSQQXI+FUisaTHMrPtSP8xtf7Mtd6jmEuZz3li9ogK9isSUVW7nhCHh+BIv Txf/kwJti9e0SiXxk9qsCpgRRMm9TYVO0udKF95cMa7BIe6eg5DTu2s3yOXuYFrw OtwRmyrJpnleCjjtKsRdgOHfKMqUL3rzqjK7j4HUbCZjSZdtDhD+54IYR14CNAhA vOsETZv6ANUoW7NEoeGOQi4hm0M+qfneO9kZg/WKNO+qS+mGXcqsXa10w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudejgedgudduhecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedfnfgr rhhrhicuifgrrhhfihgvlhgufdcuoehlrghrrhihsehgrghrfhhivghlughtvggthhdrtg homheqnecuggftrfgrthhtvghrnhepveehhedvveejledvvefgleevffdtjeekledvkeeg heffgfeivdejhffhledtudetnecuffhomhgrihhnpehphhhprdhnvghtnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgrrhhrhiesghgrrhhf ihgvlhguthgvtghhrdgtohhm X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 44EFD1700089; Sun, 3 Dec 2023 13:35:12 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1178-geeaf0069a7-fm-20231114.001-geeaf0069 MIME-Version: 1.0 Message-ID: In-Reply-To: <92012D5D-B917-46E1-A1A0-6F92404347B0@php.net> References: <74dcffb7-e8c1-45c8-ae41-9fc0f050f484@app.fastmail.com> <92012D5D-B917-46E1-A1A0-6F92404347B0@php.net> Date: Sun, 03 Dec 2023 12:34:51 -0600 To: "php internals" Content-Type: text/plain Subject: Re: [PHP-DEV] [VOTE] [RFC] Final anonymous classes From: larry@garfieldtech.com ("Larry Garfield") On Sun, Dec 3, 2023, at 10:34 AM, Derick Rethans wrote: > On 3 December 2023 14:49:12 GMT, Nikita Popov wrote: >>On Sun, Dec 3, 2023, at 11:40, Daniil Gentili wrote: >>> Hi all, >>> >>> I've just opened voting for the final anonymous classes RFC @ >>> https://wiki.php.net/rfc/final_anonymous_classes. >>> >>> Voting started now, and will run until December 18th 2023, 00:00 GMT. >> >>For the record, I've voted against this proposal because I believe it should have gone with option 2, that is to *always* make anonymous classes final. >> >>It makes very little sense to me that everyone needs to explicitly mark their anonymous classes as final just because there is a class_alias loophole that could, in theory, have been used to extend anonymous classes in the past. Especially given that there is no evidence of this "feature" being used in the wild (or if there is such evidence, it was not presented in the proposal). >> >>Regards, >>Nikita > I agree with this, and would also say that this RFC is the most thin > one I've seen. > > There is no reasoning, or examples, or pretty much anything else in it. I have also voted no for the same reasons as above. A more fleshed out RFC that goes default-final (which would then enable the engine optimizations mentioned) I would probably vote yes for. Though one could debate if that should be saved for 9.0 just to be safe. (Which I'd also be fine with.) --Larry Garfield