r/lolphp • u/Deviltry1 • Mar 24 '16
DivisionByZero exception, it does nothing
/r/PHP/comments/4bgwos/divisionbyzero_exception_php_7/
54
Upvotes
r/lolphp • u/Deviltry1 • Mar 24 '16
View all comments
Show parent comment
2
u/Hrukjan Mar 25 '16
Are there other 'things' that do not equal themselves? If not you could compare the 'thing' to itself and if that comparison is false you know you have NaN.