3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function q6($var1, $var2, $var3) { $var4 = (($var1 == $var2)); $var5 = (($var4 == true) ? false : true); $var6 = (($var2 <> $var3) || (!$var2 && !$var3)); $var7 = (($var5 || $var6)); $var8 = ((!$var5) && (!$var7)); var_dmp($var8); } q6(0, 0, 0); q6(0, 0, 1); q6(0, 1, 0); q6(0, 1, 1); q6(1, 0, 0); q6(1, 0, 1); q6(1, 1, 0); q6(0, 1, 1); q6(1, 1, 1);
based on qosIt
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function var_dmp() in /in/l4MgB:9 Stack trace: #0 /in/l4MgB(12): q6(0, 0, 0) #1 {main} thrown in /in/l4MgB on line 9
Process exited with code 255.
Output for 5.3.21 - 5.6.28
Fatal error: Call to undefined function var_dmp() in /in/l4MgB on line 9
Process exited with code 255.