3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr1 = range(0,9); $arr2 = range('a','z'); var_dump($arr1);
based on EO29j
Output for 4.3.0 - 7.1.0
array(10) { [0]=> int(0) [1]=> int(1) [2]=> int(2) [3]=> int(3) [4]=> int(4) [5]=> int(5) [6]=> int(6) [7]=> int(7) [8]=> int(8) [9]=> int(9) }