Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:128098 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 lists.php.net (Postfix) with ESMTPS id 4735E1A00BC for ; Thu, 17 Jul 2025 16:27:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1752769537; bh=eNd3//zxCWKDgEQXD65zTTextD2LgVLzCqcLkaFD0Io=; h=Date:From:To:In-Reply-To:References:Subject:From; b=juUsGIBOBg4Sx4POuh4OLBBvkPRWji4NSATxkDWnfUjZy4+UM1Cme9s8MA0MelUg0 C8wt5woCl9DFN06YiC09dFz918hA17d89bwWvBiLid33cytrZucZOgNoDov5hsvWEc ozBFBPqTwxPpS8jLABkp4an30yo+Zn9JxFRtYl5lNmTFtMQEPJTcuz56qQGu8fwX5a e5LrOKmHwyIYLMdU85nLh0uTsy4YlmgRRH/rR68ImUF3smN8ZeGtH7KXnXq+7ilGVa Tea9dNUJJPINgVomqSf+iY8wIMMDePu8NVTd6kT17ZS+dUreRRLY3ru2JYz+uI1bgG nmCKKy1+pZaMA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D9FC218004D for ; Thu, 17 Jul 2025 16:25:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from fout-a1-smtp.messagingengine.com (fout-a1-smtp.messagingengine.com [103.168.172.144]) (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 ; Thu, 17 Jul 2025 16:25:25 +0000 (UTC) Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfout.phl.internal (Postfix) with ESMTP id 062B7EC024C for ; Thu, 17 Jul 2025 12:27:12 -0400 (EDT) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-10.internal (MEProxy); Thu, 17 Jul 2025 12:27:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= garfieldtech.com; 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=fm2; t=1752769632; x=1752856032; bh=UBZcgLh63Oy4yiPRG+TzZ 8e+R5sdPL9qr16OL+9pFo8=; b=ZBsHA76EBxxDZYD9mYdR0NcNlqJfdBWHUwwy9 1WYzvY4/KcpifXmQO60gDeu5rQxUd7w/EIEFPmIH9cc8M+xga/lJWVJQYIPrtf8S W6kP8rh/HN0jZnftE+xcOSP66IebwTTBPyMfItFNG2DUY4pC0ef1dnCc03R9YE5k 6PPcwPzUfFVFTGWpfipRRTEsdB0FWkXPsfz4pu/GD+0OjPDIvO5OnHu9ZULm3Cn1 uNP5JqFdZDHtpLgXoLt86y5kKWw8+XMDpJ3Ig4+QgnDlTQA+8ErCXz7BAxLrlz2H ESa2JLYbBixyeic2YybknPODriEMmS8Z5ugvfmG3hEw3PS7zg== 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-sender :x-me-sender:x-sasl-enc; s=fm2; t=1752769632; x=1752856032; bh=U BZcgLh63Oy4yiPRG+TzZ8e+R5sdPL9qr16OL+9pFo8=; b=FLd/w9kuNueoZhYoY jQ34WXHp7zt13kx1fOF60y59pngEVs62lntPI81zHued3Dy+7SBd9qRHnq6QsX/U ma1sT+WVIMfiLnr/1ATiSjxQ1elT4dEOPjjT8A8W6xK1Gc78ChYeZkipTsz3W2xP SVzQVunLQivi8Dztdl3wgO503gus+hShYicS52+7nYNYh+oh8nY90dfp2B1woVgn Xlso+CoMfRsOM8RpvVbzbh3OQa/p8RfdbFcUUHGqsJhZdOQrqnQ1WIFXz5Wvt83n QhoNQjyi6PJRdJ79gk5nBQwLuYtCd8uJ5z70J/Mpozp4NaBY7zo3I6ymEa4Vj/hu rF8oA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdeiuddtiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefoggffhffvkfgjfhfutgfgsehtjeertdertddtnecuhfhrohhmpedfnfgrrhhrhicu ifgrrhhfihgvlhgufdcuoehlrghrrhihsehgrghrfhhivghlughtvggthhdrtghomheqne cuggftrfgrthhtvghrnhepueevvdduhffffffhleeuhedvjeevgfelgeetgefftedufeel heegfedvheegleetnecuffhomhgrihhnpehphhhprdhnvghtnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgrrhhrhiesghgrrhhfihgvlhgu thgvtghhrdgtohhmpdhnsggprhgtphhtthhopedupdhmohguvgepshhmthhpohhuthdprh gtphhtthhopehinhhtvghrnhgrlhhssehlihhsthhsrdhphhhprdhnvght X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id A134A700065; Thu, 17 Jul 2025 12:27:11 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 X-ThreadId: Taa1a9d92243b6726 Date: Thu, 17 Jul 2025 11:26:39 -0500 To: "php internals" Message-ID: <09780759-9ddc-45e2-9376-befb8e378775@app.fastmail.com> In-Reply-To: <1e8634d7-ac1a-4025-b4e2-1948aabf5251@app.fastmail.com> References: <1e8634d7-ac1a-4025-b4e2-1948aabf5251@app.fastmail.com> Subject: [PHP-DEV] Re: [RFC] Readonly property hooks Content-Type: text/plain Content-Transfer-Encoding: 7bit From: larry@garfieldtech.com ("Larry Garfield") On Sat, Jun 7, 2025, at 11:16 PM, Larry Garfield wrote: > As Nick has graciously provided an implementation, we would like to > open discussion on this very small RFC to allow `readonly` on backed > properties even if they have a hook defined. > > https://wiki.php.net/rfc/readonly_hooks "Very small" never lasts, does it... :-) Given the lack of consensus both here and in off-list discussions on how to handle get hooks, we have done the following: * Split the RFC into two sections, one for get, one for set. * Expanded and refined the examples for both. The implementation is still the original, however. * Split the vote into two: one for allowing readonly get hooks, one for readonly set hooks. We will start the vote sometime this weekend, most likely, unless some major feedback appears before then, and let the chips fall where they may. --Larry Garfield