Toot

Written by ignace nyamagana butera on 2025-02-01 at 19:33

Now that PHP8.4 support new MyClass()->method() without parentheses does it still make sense to add or have empty named constructor like MyClass::new() or MyClass::make() or MyClass::create()

[#]php84 #apidesign

=> More informations about this toot | View the thread | More toots from nyamsprod@phpc.social

Mentions

Tags

=> View php84 tag | View apidesign tag

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113930299008432124
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
229.585279 milliseconds
Gemini-to-HTML Time
0.610434 milliseconds

This content has been proxied by September (3851b).