Re:What's new in PHP 8?
by paul_f on Friday August 14, 2020 @01:05AM
(#24153785)
Yes, maybe, but who would write that? Seems an arbitrary example used to denigrate weak typed languages in general. Not sure what is bering tested there, but easy enough to do this: if (is_numeric($foo) and !intval($foo)) {
[ Parent
| on HN ]
There are no comments on this comment yet.