3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for ($x=0;$x<23;$x=$x+2) { var_dump($x / 2+1); #$bla= round($x /2); #echo $bla."\n"; }
based on Cl0HJ
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
int(1) int(2) int(3) int(4) int(5) int(6) int(7) int(8) int(9) int(10) int(11) int(12)