3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for ($x=1;$x<24;$x++) { var_dump($x / 2); }
based on jepIR
Output for 4.3.0 - 7.1.0
float(0.5) int(1) float(1.5) int(2) float(2.5) int(3) float(3.5) int(4) float(4.5) int(5) float(5.5) int(6) float(6.5) int(7) float(7.5) int(8) float(8.5) int(9) float(9.5) int(10) float(10.5) int(11) float(11.5)