Re:Whats New in PHP 8.2
by kijin on Monday April 25, 2022 @09:18PM
(#31162921)
PHP functions don't return 0, either. They return `false` which is easy to distinguish from other false-ish values using the `===` operator. They're still overloading `false` with failure, of course, but it would be unfair to say that PHP conflates all the false-ish values.
[ Parent
| on HN ]
There are no comments on this comment yet.