Re:Whats New in PHP 8.2
by djbusby on Monday April 25, 2022 @10:23AM
(#31155230)
Good design choice for new lang. What about when there is 20+ years of history? Can't just move fast and break things.
[ Parent
| on HN ]
Isn't this an announcement about introducing this and other changes into the language now?
It’s really an announcement about the formalisation of existing API patterns: returning FALSE on failure (regardless of the “success” type) is part of many old php apis, this change allows properly typing those.