3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 10; if ($a == 5) { echo "5"; } else { if ($a == "9") { echo "9"; } else { if ($a == "4") { echo "4"; } else { if ($a == "7") { echo "7"; } else { if ($a == "1") { echo "1"; } else { echo "10"; } } } } }
based on 32elR
Output for 5.6.38 - 7.3.0rc3
10