Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123613 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id B4D6E1A009C for ; Sat, 15 Jun 2024 13:53:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1718459664; bh=W0DXAlkG01uBytACQGarZYYV52fcBDYwn25lixmqMj4=; h=Date:Subject:To:References:From:In-Reply-To:From; b=aaAsP/sPuVeA4ai5nMAHR0J6Hk6mJF/mI1k5q0V76FbrcPWlCwvboqqKGtYbwI3T6 LN9A1snnuhRr2WWqAHHFU/HND+Vc8DT53GZmO2SMGUA2zT8nf20xx3oxlxaCLAgvwL YqkZgnlx4VklLWM+JNCSFdxGfmGkaoAxNnodh+cZ4XvnP0sT/bX1onkI/IJ5at7t3t KxmOL/Pj+0hKNOd+RRw0k67f5wIlA5OHng95///0sNuMwG/+mIxvYu+EQRUGDE307b ZkJ3BilgAA0kYKjFFiUX6I8Z/ygIWIuccNyywq1jDB+EHdlPKbZOKmfPCzFu5gGuus DyjoTLJ62g5vg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D746A180675 for ; Sat, 15 Jun 2024 13:54:23 +0000 (UTC) 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.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from fout5-smtp.messagingengine.com (fout5-smtp.messagingengine.com [103.168.172.148]) (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 ; Sat, 15 Jun 2024 13:54:23 +0000 (UTC) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfout.nyi.internal (Postfix) with ESMTP id 1B64513800DE for ; Sat, 15 Jun 2024 09:53:12 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 15 Jun 2024 09:53:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rwec.co.uk; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1718459592; x=1718545992; bh=gda/30MC2Xr3FX2GjHILjQhZDervCDH/uYDd/L7tr1s=; b= dSRaTjj9JE+GnhDrDbtahPHaaD3KI7K+XfawepXEKQQsI+opWrOnFY/u7aPF4/Lx B1m5cOLvg0YFMN9JMffSf/4CpkGexbneCGvPzFRZtBFeNVlkCB6c1mqVFdvdUiQM FMUumbkuv/Uo0ynvNEO1IlPBh8T1xfcQ5onk9TlwuuZoAJMKOXWxkkSWiyFE5c2f T3NCB5ayP46LnPlA2yG2/Muh2xGnhumvYw6oQSwoQtBumxbecQ+ZHzvvZVTJMPj/ 3CxJsmlhDCqcTNdnQ1JCWZDwgnx7wGQLqFW6X4gGFtfn98Ho8cRk90Z+RrCM0Xuz 5JeqJsvGg1cdD8q+0+2k9A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1718459592; x= 1718545992; bh=gda/30MC2Xr3FX2GjHILjQhZDervCDH/uYDd/L7tr1s=; b=V UGc+9qxZQi/WXhHd/rDw54uFz33tw0MpJhTwpULvvb8aHzkiPXMKwFRaOI41Yvo0 KkO8+3xw7KHdtDdOdoPq+9zfHdY5HzjiBQFAOm5Jz9mglFjLVev6UnwicAFjdWdP fr0crAbOwdgTDGsWwl6/imk6jvDCOIW6wymDj6w6GZI2fcgeXNWzFLhvSvNflpOJ HRYyFNIUEv2MHSVHWYAtE7dUnHFS2bSv2bHqCqb41s7ReveaQwf+zVC1lyiB8ZMl aNXaF5XA1NFmmOcEdqeTaVT7+VyHyzSq9HURMBEuiuqQ48MKCUNP8ynZqXIxI8NQ oF+ayfIn7PQwpeI3pXiGA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedvuddgjedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtje ertddtvdejnecuhfhrohhmpedftfhofigrnhcuvfhomhhmihhnshculgfkoffuohfrngdf uceoihhmshhophdrphhhphesrhifvggtrdgtohdruhhkqeenucggtffrrghtthgvrhhnpe elteekfeffffefteekieeuhedutdfgjeeileegffdvvdffjeduuddvieeiheehueenucff ohhmrghinhepphhhphdrnhgvthdpvgigthgvrhhnrghlshdrihhonecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepihhmshhophdrphhhphesrhif vggtrdgtohdruhhk X-ME-Proxy: Feedback-ID: id5114917:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sat, 15 Jun 2024 09:53:10 -0400 (EDT) Message-ID: <936e1aa3-48cc-4552-9f68-676ebcdeb596@rwec.co.uk> Date: Sat, 15 Jun 2024 14:53:08 +0100 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] Static class To: internals@lists.php.net References: <0cf69a14-f1b5-4077-9d91-d7b579485eec@scriptfusion.com> Content-Language: en-GB In-Reply-To: <0cf69a14-f1b5-4077-9d91-d7b579485eec@scriptfusion.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit From: imsop.php@rwec.co.uk ("Rowan Tommins [IMSoP]") On 15/06/2024 12:16, Bilge wrote: > > I want to introduce the `static` keyword at the class declaration > level. That is, the following would be valid: `static class Foo {}`. This has been proposed before, and was rejected at vote. It was nearly 10 years ago, so opinions may have changed, but it would be worth reading through the prior discussion to anticipate or counter the objections raised, and avoid re-treading the same ground. - RFC: https://wiki.php.net/rfc/abstract_final_class - Pre-vote discussion threads: https://externals.io/message/79211 and https://externals.io/message/79338 - Final vote thread: https://externals.io/message/79601 Searching my list archive, I find that it came up again a few months ago, which I'd entirely forgotten: https://externals.io/message/121717 Slightly tangential, but some of the same discussion also came up on these rather lengthy threads about "static class constructors": https://externals.io/message/84602 and https://externals.io/message/85779 Regards, -- Rowan Tommins [IMSoP]