Clarification on how PHP handles true and false values
I would like to use a true/false result to do alternative things in PHP. I was surprised by the following: $falsevar = false; $truevar = true; echo "falsevar which I just set to false is".$falsevar; //displays true echo "truevar which…