Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121910 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 99994 invoked from network); 3 Dec 2023 15:02:36 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 3 Dec 2023 15:02:36 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id DD398180003 for ; Sun, 3 Dec 2023 07:02:45 -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=-0.4 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 07:02:45 -0800 (PST) Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-40b595bf5d2so37316595e9.2 for ; Sun, 03 Dec 2023 07:02:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701615753; x=1702220553; darn=lists.php.net; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=YsUQeVtD7QtKLGbfu386ySvcczBYZK9mosk7dVpk6rQ=; b=e6dxvLIteQpl6pIgQpRwemrfR5/W5uByVRQo1nCdAPl2lYuiOyo9btpsbHTxOfonZa A0NaotwpJAo4w7xY5E7QsS+l2AUc4Tb/FYRDP6oe9kXMz/In0zN1YmcKfWIoeEPgAvyI 97h7Mloc1kYSHv/Zpgs4FiN5CoqzvtX5eybwGEISiNi+LVFrK9y9RRPi5vNWbdWo2EHf Xvx/3C2HozuVRKfNpJciG7Orgkvkt2au5qErvQeFbn6KbIAWtefXEmCpTH2t+jaP55UV r3mliQE86b4GIJPxy8HsTqEr8ICE3ng9AwlgH1sqGoyqmuJs1CGMlBwBT8vsJ/BsNfYX 5l1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701615753; x=1702220553; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YsUQeVtD7QtKLGbfu386ySvcczBYZK9mosk7dVpk6rQ=; b=t/wyNLGlgGEzNHBU+9SAnIc7ABmL5Z9G+XJcN1vPkhXUnHrSF0Ye/uIks8ZZGSI6iY 0G8Fo3G2jYb744hOBWrtwBTXPwIH4jMTdOsIKt8hJJ4wTpNhxJJN5R1Uun6qZvTWIusy 4PVAMI9C2La+HtWeX9+RZxf6BQ6nKG/ubOSUGkxYW3D7HWfX5ZVEj35NWfMCsAj8b6u3 4ceEa2/bA90FqisznbgyejM1euvke+aGhLNT2pEwP0JbuLVx/l7Farlad8vesQxg0Ogo vBtjCPiubTsQ1naJKuL6IaSFhLtkHHlEXDaU9qXA77nvmPfswtZf6GrAp+FvcupraN5J 9VhA== X-Gm-Message-State: AOJu0Yz9EAHnyWqkNSz2IBS7/0gldH0A2CCurGUXl4ldXyH3/23YOdxU pSgr9GLY9HCXjN3GHfANbZ2IJy4/ZBw= X-Google-Smtp-Source: AGHT+IFHLHk9D+EZzljbnf+jv2colOGbInc9wVzde8xRj1KfjRQuiH25KLz8u2RkVwJAwWUfNYxDbg== X-Received: by 2002:a7b:cc0d:0:b0:40b:5e21:c5e8 with SMTP id f13-20020a7bcc0d000000b0040b5e21c5e8mr1233133wmh.182.1701615752770; Sun, 03 Dec 2023 07:02:32 -0800 (PST) Received: from ?IPV6:2a0e:97c0:38f:0:6279:c268:2987:d250? (luna-052d7892862c97260000f.net.as198747.daniil.it. [2a0e:97c0:38f:0:6279:c268:2987:d250]) by smtp.gmail.com with ESMTPSA id bg24-20020a05600c3c9800b0040b3d33ab55sm15718110wmb.47.2023.12.03.07.02.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 03 Dec 2023 07:02:32 -0800 (PST) Message-ID: <436b1498-ee89-4a37-8c55-696cc8c20e8d@gmail.com> Date: Sun, 3 Dec 2023 16:02:30 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: internals@lists.php.net References: <74dcffb7-e8c1-45c8-ae41-9fc0f050f484@app.fastmail.com> Content-Language: en-US In-Reply-To: <74dcffb7-e8c1-45c8-ae41-9fc0f050f484@app.fastmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [VOTE] [RFC] Final anonymous classes From: daniil.gentili@gmail.com (Daniil Gentili) Hi Nikita, > 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). > Should I amend the RFC, recreating the current poll with three mutually exclusive options (final anonymous classes, final by default without open, final by default with open) instead of just Yes/No (I personally share your PoV, but given the minor pushback received in the last discussion thread I initially decided against it), could that be done without restarting the discussion process? Regards, Daniil Gentili.