3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = range(3.5, 16, .5); print_r($array); ?>
Output for 5.0.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [0] => 3.5 [1] => 4 [2] => 4.5 [3] => 5 [4] => 5.5 [5] => 6 [6] => 6.5 [7] => 7 [8] => 7.5 [9] => 8 [10] => 8.5 [11] => 9 [12] => 9.5 [13] => 10 [14] => 10.5 [15] => 11 [16] => 11.5 [17] => 12 [18] => 12.5 [19] => 13 [20] => 13.5 [21] => 14 [22] => 14.5 [23] => 15 [24] => 15.5 [25] => 16 )
Output for 4.3.0 - 4.4.9
Warning: Wrong parameter count for range() in /in/SVODF on line 2