I am very confused, because PHP accepts the below condition.
<?php
$b = true;
if($b == 'anything')
echo 'ok';
else
echo 'no';
?>
Well, PHP displays ok
. I still don't understand how is it possible.
Maybe, you can clarify it for me.