I have a big confusion over equal to operators(==.===), below I mentioned php code where checking condition that string "all" equal to numeric 0. But it returns true at double equal to ("all"==0), but not with others:
<?php    
    var_dump("all"==0);
    var_dump("all"=="0");
    var_dump("all"==="0");
    var_dump("all"===0);    
?>
Output:
bool(true) 
bool(false)
bool(false) 
bool(false) 
for all the condition the answer should be false. but why "all"==0 is true. can anyone explain?
 
    