3v4l.org

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

Process exited with code 153.