3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "0"; $b = "0.0"; $c = 0; $d = false; if($a == $b) { var_dump($a); echo " == "; var_dump($b); echo"\n";} if($a == $c) { var_dump($a); echo " == "; var_dump($c); echo"\n";} if($a == $d) { var_dump($a); echo " == "; var_dump($d); echo"\n";} if($b == $c) { var_dump($b); echo " == "; var_dump($c); echo"\n";} if($b == $d) { var_dump($b); echo " == "; var_dump($d); echo"\n";} if($c == $d) { var_dump($c); echo " == "; var_dump($d); echo"\n";} if($a == $b && $a == $d && $b != $d) echo "Fuck this\n";
Output for git.master, git.master_jit, rfc.property-hooks
string(1) "0" == string(3) "0.0" string(1) "0" == int(0) string(1) "0" == bool(false) string(3) "0.0" == int(0) int(0) == bool(false) Fuck this

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
44.51 ms | 401 KiB | 8 Q