Re: Constructor property promotion for final properties

From: Date: Thu, 20 Mar 2025 20:12:33 +0000
Subject: Re: Constructor property promotion for final properties
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-126879@lists.php.net to get a copy of this message
On Fri, Feb 21, 2025 at 12:09 PM Daniel Scherzer < daniel.e.scherzer@gmail.com> wrote: > Hi internals, > > I recently found out that constructor property promotion cannot be used > for final properties. I propose that it become allowed. Thoughts? Would > this need an RFC, or is this minor enough to be acceptable with just a > mailing list discussion? > Given the lack of engagement, I want to make it clear: unless somebody objects, maintainers have agreed to merge a PR implementing the feature in 2 weeks. If you object, please speak up. --Daniel

« previous php.internals (#126879) next »