3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(array_merge(range(1, 46), [48, 49, 83, 86, 87, 89, 91, 92, 99, 79, 80], range(51, 76)));
based on tvK9d
Output for 5.6.38 - 7.3.0rc3
array(83) { [0]=> int(1) [1]=> int(2) [2]=> int(3) [3]=> int(4) [4]=> int(5) [5]=> int(6) [6]=> int(7) [7]=> int(8) [8]=> int(9) [9]=> int(10) [10]=> int(11) [11]=> int(12) [12]=> int(13) [13]=> int(14) [14]=> int(15) [15]=> int(16) [16]=> int(17) [17]=> int(18) [18]=> int(19) [19]=> int(20) [20]=> int(21) [21]=> int(22) [22]=> int(23) [23]=> int(24) [24]=> int(25) [25]=> int(26) [26]=> int(27) [27]=> int(28) [28]=> int(29) [29]=> int(30) [30]=> int(31) [31]=> int(32) [32]=> int(33) [33]=> int(34) [34]=> int(35) [35]=> int(36) [36]=> int(37) [37]=> int(38) [38]=> int(39) [39]=> int(40) [40]=> int(41) [41]=> int(42) [42]=> int(43) [43]=> int(44) [44]=> int(45) [45]=> int(46) [46]=> int(48) [47]=> int(49) [48]=> int(83) [49]=> int(86) [50]=> int(87) [51]=> int(89) [52]=> int(91) [53]=> int(92) [54]=> int(99) [55]=> int(79) [56]=> int(80) [57]=> int(51) [58]=> int(52) [59]=> int(53) [60]=> int(54) [61]=> int(55) [62]=> int(56) [63]=> int(57) [64]=> int(58) [65]=> int(59) [66]=> int(60) [67]=> int(61) [68]=> int(62) [69]=> int(63) [70]=> int(64) [71]=> int(65) [72]=> int(66) [73]=> int(67) [74]=> int(68) [75]=> int(69) [76]=> int(70) [77]=> int(71) [78]=> int(72) [79]=> int(73) [80]=> int(74) [81]=> int(75) [82]=> int(76) }