3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = "Hello, World!"; $a = false; $b = true; $c = false; if($a) { if($b && !$c) { echo "Goodbye Cruel World!"; } else if(!$b && !$c) { echo "Nothing here"; } } else { if(!$b) { if(!$a && (!$b && $c)) { echo "Hello, World!"; } else { echo "Goodbye World!"; } } else { echo "Not quite."; } }
based on 1MoC5
Output for 4.3.0 - 7.1.0
Not quite.