Re: [RFC] Static Constructor
| From: | Tim Düsterhus | Date: | Wed, 19 Jun 2024 18:25:34 +0000 |
| Subject: | Re: [RFC] Static Constructor | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-123685@lists.php.net to get a copy of this message | ||
Hi
On 6/19/24 16:03, Erick de Azevedo Lima wrote:
I have considered some names, actually. I just chose this one for the implementation because I tried to design it to be as close as possible to the C# implementation and they call it "static constructor". But the name can be changed to another one without any problem at all.I would suggest
__constructStatic(). This matches the existing naming pattern of __callStatic() being the companion to __call().
Best regards
Tim Düsterhus