#197
04/11/2022 00:25
Ok, I know strict comparison is usually safer, but this, really PHP .. ?!
$value = 0;
if ($value == 'isNull') print 'I am null';
Have you written a response to this? Let me know the URL by sending a webmention.
Comments
https://chaos… on Fri, 04/11/2022 - 10:03
@swentel i guess it works, nice one. I wish php could through a warning when it converts between types
Add reply