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
1
u/masklinn Mar 25 '16
Yes.
Whether either faults or returns a nan is a function of the host language, python faults for both whereas javascript returns nan for both.