RE: [PHP-DEV] [RFC] Property hooks, nee accessors

From: Date: Tue, 09 May 2023 13:22:01 +0000
Subject: RE: [PHP-DEV] [RFC] Property hooks, nee accessors
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-120221@lists.php.net to get a copy of this message
> Ilija Tovilo and I would like to offer another RFC for your consideration.. It's > been a while in coming, and we've evolved the design quite a bit just in the last > week so if you saw an earlier draft of it in the past few months, I would > encourage you to read it over again to make sure we're all on the same page. > I'm actually pretty happy with where it ended up, even if it's not the original > design. This approach eliminates several hard-to-implement edge cases while > still providing a lot of functionality in one package. > > https://wiki.php.net/rfc/property-hooks +1 from me, I've used it in C# and it makes for clean code and less boilerplate. -Jeff

« previous php.internals (#120221) next »