Re: [RFC] Static class

From: Date: Mon, 24 Jun 2024 12:22:07 +0000
Subject: Re: [RFC] Static class
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
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?). 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 👍🏻 Best Jordi Boggiano @seldaek - https://seld.be

Thread (71 messages)

« previous php.internals (#123781) next »