Re: [RFC] Static class

From: Date: Mon, 24 Jun 2024 20:21:42 +0000
Subject: Re: [RFC] Static class
References: 1 2  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi Jordi,

On 24/06/2024 13:22, Jordi Boggiano wrote:
On 2024-06-24 01:10, Bilge wrote:
I am pleased to present my first RFC: Static class <https://wiki.php.net/rfc/static_class>.
Just one point of feedback: for clarity I think it would be good if it mentions that creating dynamic properties i.e. $this->dynamicProp = 'bar' would also throw at runtime (or even compile time if doable?). Absolutely. I'll include a note about this in the RFC.
As for voting intention, it sounds totally reasonable to me, and while I don't see myself using it much I don't see a reason to be against it, so 👍🏻 Thank you! 🙏🏻
Kind regards, Bilge P.S. Thanks for Composer 🙂

Thread (71 messages)

« previous php.internals (#123789) next »