3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if (1) { echo "1"; } else if (2) { echo "2"; } elseif (3) { echo "3"; } else { echo "4"; }
Output for 4.3.0 - 7.2.0
1