3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array_merge(range('A', 'Z'), range(0, 9), array('-', '_')); var_dump($a);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
array(38) { [0]=> string(1) "A" [1]=> string(1) "B" [2]=> string(1) "C" [3]=> string(1) "D" [4]=> string(1) "E" [5]=> string(1) "F" [6]=> string(1) "G" [7]=> string(1) "H" [8]=> string(1) "I" [9]=> string(1) "J" [10]=> string(1) "K" [11]=> string(1) "L" [12]=> string(1) "M" [13]=> string(1) "N" [14]=> string(1) "O" [15]=> string(1) "P" [16]=> string(1) "Q" [17]=> string(1) "R" [18]=> string(1) "S" [19]=> string(1) "T" [20]=> string(1) "U" [21]=> string(1) "V" [22]=> string(1) "W" [23]=> string(1) "X" [24]=> string(1) "Y" [25]=> string(1) "Z" [26]=> int(0) [27]=> int(1) [28]=> int(2) [29]=> int(3) [30]=> int(4) [31]=> int(5) [32]=> int(6) [33]=> int(7) [34]=> int(8) [35]=> int(9) [36]=> string(1) "-" [37]=> string(1) "_" }