3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $num = 3; if ($num == 4) echo "num is 4"; else if ($num == 3) echo "num is 3"; else echo "num is not 3 or 4";
Output for 4.3.0 - 7.1.0
num is 3