[#]PHP 8.4 is deprecating the usage of _ (underscore) as a class name. Anyone knows why?
The same name is available for functions, methods and constants, so, with named parameters, we can still write the beauty below.
[#]phptip #phptrick
https://php-tips.readthedocs.io/en/latest/tips/no_more_class__.html
=> More informations about this toot | More toots from dseguy@phpc.social
@dseguy It's fine, you can still use ⸏.
=> More informations about this toot | More toots from derickr@phpc.social
@dseguy The motivation is to reserve the name for the wildcard pattern for pattern matching.
=> More informations about this toot | More toots from Girgias@phpc.social
@Girgias Ah! RFU! Thanks :)
=> More informations about this toot | More toots from dseguy@phpc.social This content has been proxied by September (ba2dc).Proxy Information
text/gemini