3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = "0"; $b = "0.0"; $c = 0; $d = false; if($a == $b) echo "$a == b\n"; if($a == $c) echo "a == c\n"; if($a == $d) echo "a == d\n"; if($b == $c) echo "b == c\n"; if($b == $d) echo "b == d\n"; if($a == $b && $a == $d && $b != $d) echo "Fuck this\n";
based on lZEQS
Output for 4.3.0 - 7.2.0
0 == b a == c a == d b == c Fuck this