3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $v = array_merge(range(1, 46), [48, 49, 83, 86, 87, 89, 91, 92, 99, 79, 80], range(51, 76)); sort($v); var_dump($v);
based on v1jaG
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(51) [49]=> int(52) [50]=> int(53) [51]=> int(54) [52]=> int(55) [53]=> int(56) [54]=> int(57) [55]=> int(58) [56]=> int(59) [57]=> int(60) [58]=> int(61) [59]=> int(62) [60]=> int(63) [61]=> int(64) [62]=> int(65) [63]=> int(66) [64]=> int(67) [65]=> int(68) [66]=> int(69) [67]=> int(70) [68]=> int(71) [69]=> int(72) [70]=> int(73) [71]=> int(74) [72]=> int(75) [73]=> int(76) [74]=> int(79) [75]=> int(80) [76]=> int(83) [77]=> int(86) [78]=> int(87) [79]=> int(89) [80]=> int(91) [81]=> int(92) [82]=> int(99) }