Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121682 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 85941 invoked from network); 15 Nov 2023 19:03:39 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 15 Nov 2023 19:03:39 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E59CD1804D4 for ; Wed, 15 Nov 2023 11:03:37 -0800 (PST) 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,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS24940 176.9.0.0/16 X-Spam-Virus: No X-Envelope-From: Received: from chrono.xqk7.com (chrono.xqk7.com [176.9.45.72]) (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, 15 Nov 2023 11:03:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1700075015; bh=MG/i5JJJpasnUFrz1HPUlRAvfXhVVO3tscUbZOnEnH8=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type:from:to:cc:subject:message-id; b=MTwzMAcdSvsH8XfkZ9ii8+yEKXrcAdE7OXnFd5d4Brhaa1aBg7YrzftKsagRYpko3 AXd2PSCSecTRrUhf33D9oWJo+s8UBwLhR9oclRUE4d+/4RpZjF5XxKOyTOQqn1Cq55 UX+gGHqWVOuIdJK7xCi29XSlmEY9ehn/9WMJEfwzyUaDn/85LMqVJaYV4Pcaeg8BBr Wfd2fK5+b2QyH59QHYAAZLlft6vn+KYtErN4Spo3YOkwSNO/DyoUQJjTHBy24EXivx t99e8z4TvU+ii0EP3Lbt/1mNDyUYdSTVqWyAumit2GwPcckOBVc2NGMYsxqXgINVyn Ti6u2s5jJYtZA== Message-ID: <1962ad66-26ed-4ebd-8e64-0f3bd3d4ba9b@bastelstu.be> Date: Wed, 15 Nov 2023 20:03:32 +0100 MIME-Version: 1.0 To: Daniil Gentili , internals@lists.php.net References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Re: Final anonymous classes From: tim@bastelstu.be (=?UTF-8?Q?Tim_D=C3=BCsterhus?=) Hi On 11/15/23 18:41, Daniil Gentili wrote: > I've created the RFC, I'd be more than glad to receive feedback: > https://wiki.php.net/rfc/final_anonymous_classes > The official start of the discussion period should likely be announced in a separate thread that also contains the "RFC" keyword within the Subject, otherwise it might be missed. Regarding the RFC itself, I find the voting options unclear. It says that they are mutually exclusive, but it doesn't say what happens when multiple are accepted. Personally I can see myself voting for both "Option 1" and "Option 2", because I believe it is useful if users would be able to make them final for consistency, but I would find it even more useful if they would all be final by default, but would not find it useful to introduce a new 'open' keyword. Some other folks might want to see all anon classes final by default, but don't care about whether there is the escape hatch or not and thus would vote for all 3 options. (I'm happy to repeat that above paragraph in the new thread, once you create it, but this gives you some time to think about it already) Best regards Tim Düsterhus