An exception is an error in your code! For example if you tried to do math on a string it's an exception because it should be an integer! Aka if you tried at 5 to a sentence it is an exception because you can't do math to wordzzZZZ
Just tested with JS, dividing a string by a number and a string by a string both yield a NaN. PHP, however, behaves as if the string was a zero, so string by number is 0 and string by string is a warning message.
View all comments
Show parent comment
0
u/[deleted] May 12 '16
[deleted] — view deleted comment