my friend and me found this while debugging an application
<?php
echo "check: " . ('x' == 0);
?>
This code prints 1 (so, it is true, x equals to 0). Can somebody explain why it is? I think may be I dont understand something in php rules... or may be it is a bug?
Thank you.