Re: [RFC] [Discussion] Final promoted properties

From: Date: Fri, 04 Apr 2025 11:18:56 +0000
Subject: Re: [RFC] [Discussion] Final promoted properties
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi

Am 2025-03-24 19:33, schrieb Daniel Scherzer:
I'd like to start the discussion for a new RFC about allowing final promoted properties. You can see some preliminary discussion at < https://externals.io/message/126475>, but this is now an official RFC.
I'm in favor of supporting all modifiers during promotion, but I don't particularly like the implicit promoting without also specifying the visibility, but given the precedent with readonly and hooks [1], it would at least be consistent. I'll probably abstain from a vote for that reason. Best regards Tim Düsterhus [1] The latter of which unfortunately was not specified in the RFC.

Thread (4 messages)

« previous php.internals (#127042) next »