3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function foo($a, $b) { IF ($a) echo 'f'; IF ($b) echo 'b'; ELSE echo 'else'; } foo(true, false); foo(false, false);
based on fpoPn
Output for 4.3.0 - 7.1.0
felseelse