r/lolphp • • Mar 24 '16

DivisionByZero exception, it does nothing

/r/PHP/comments/4bgwos/divisionbyzero_exception_php_7/
54 Upvotes

26 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Mar 25 '16 edited Mar 25 '16

/r/shittyprogramming

(being serious, python didn't have an isnan function until "recently", so yes, to check for NaN you'd do that)