After playing with PHP, I discovered that true is returned as 1 and false as null.
echo (5 == 5) // displays 1 echo (5 == 4) // displays nothing
Sure. Unless you need it in a different sort of structure, e.g. a while loop.
You never would. Always invert the normal function directly.
When you need to differentiate false from 0, '', etc.
false
0
''