3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $i = 5; if (isset($i) and $i == 1){ echo "hh"; } if (isset($i) and $i == 2){ echo "hh"; } if (isset($i) and $i == 3){ echo "hh"; } if (isset($i) and $i == 4){ echo "hh"; } if (isset($i) and $i == 5){ echo "hh"; } if (isset($i) and $i == 6){ echo "hh"; } if (isset($i) and $i == 7){ echo "hh"; } if (isset($i) and $i == 8){ echo "hh"; } if (isset($i) and $i == 9){ echo "hh"; } if (isset($i) and $i == 10){ echo "hh"; }
based on 4TNFG
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
hh