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

Reply via email to