3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(range('0', 'z'));
Output for 5.0.0 - 7.1.0
array(1) { [0]=> int(0) }
Output for 4.3.0 - 4.4.9
array(75) { [0]=> string(1) "0" [1]=> string(1) "1" [2]=> string(1) "2" [3]=> string(1) "3" [4]=> string(1) "4" [5]=> string(1) "5" [6]=> string(1) "6" [7]=> string(1) "7" [8]=> string(1) "8" [9]=> string(1) "9" [10]=> string(1) ":" [11]=> string(1) ";" [12]=> string(1) "<" [13]=> string(1) "=" [14]=> string(1) ">" [15]=> string(1) "?" [16]=> string(1) "@" [17]=> string(1) "A" [18]=> string(1) "B" [19]=> string(1) "C" [20]=> string(1) "D" [21]=> string(1) "E" [22]=> string(1) "F" [23]=> string(1) "G" [24]=> string(1) "H" [25]=> string(1) "I" [26]=> string(1) "J" [27]=> string(1) "K" [28]=> string(1) "L" [29]=> string(1) "M" [30]=> string(1) "N" [31]=> string(1) "O" [32]=> string(1) "P" [33]=> string(1) "Q" [34]=> string(1) "R" [35]=> string(1) "S" [36]=> string(1) "T" [37]=> string(1) "U" [38]=> string(1) "V" [39]=> string(1) "W" [40]=> string(1) "X" [41]=> string(1) "Y" [42]=> string(1) "Z" [43]=> string(1) "[" [44]=> string(1) "\" [45]=> string(1) "]" [46]=> string(1) "^" [47]=> string(1) "_" [48]=> string(1) "`" [49]=> string(1) "a" [50]=> string(1) "b" [51]=> string(1) "c" [52]=> string(1) "d" [53]=> string(1) "e" [54]=> string(1) "f" [55]=> string(1) "g" [56]=> string(1) "h" [57]=> string(1) "i" [58]=> string(1) "j" [59]=> string(1) "k" [60]=> string(1) "l" [61]=> string(1) "m" [62]=> string(1) "n" [63]=> string(1) "o" [64]=> string(1) "p" [65]=> string(1) "q" [66]=> string(1) "r" [67]=> string(1) "s" [68]=> string(1) "t" [69]=> string(1) "u" [70]=> string(1) "v" [71]=> string(1) "w" [72]=> string(1) "x" [73]=> string(1) "y" [74]=> string(1) "z" }