I stumbled upon a very strange bit of PHP code. Could someone explain why this is happening? *****BONUS POINTS***** if you can tell my why this is useful.
ord() takes characters, so PHP turns 0 into '0'. And 0 is equal to false, even though it is not identical (===).
ord()
0
'0'
false
===