3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(range(1.2, 4.2));
based on 1CSKJ
Output for 5.0.0 - 7.1.0
array(4) { [0]=> float(1.2) [1]=> float(2.2) [2]=> float(3.2) [3]=> float(4.2) }
Output for 4.3.0 - 4.4.9
array(4) { [0]=> int(1) [1]=> int(2) [2]=> int(3) [3]=> int(4) }