SyntaxFix
Write A Post
Hire A Developer
Questions
Zero is false, nonzero is true.
In php you can test more explicitly using the === operator.
===
if (0==false) echo "works"; // will echo works if (0===false) echo "works"; // will not echo anything