3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = []; for($index = 2600; $index < 2700; $index++){ $x[] = "Hi" . chr($index); } print_r($x);
based on vbWNr
Output for 5.4.0 - 7.2.6
Array ( [0] => Hi( [1] => Hi) [2] => Hi* [3] => Hi+ [4] => Hi, [5] => Hi- [6] => Hi. [7] => Hi/ [8] => Hi0 [9] => Hi1 [10] => Hi2 [11] => Hi3 [12] => Hi4 [13] => Hi5 [14] => Hi6 [15] => Hi7 [16] => Hi8 [17] => Hi9 [18] => Hi: [19] => Hi; [20] => Hi< [21] => Hi= [22] => Hi> [23] => Hi? [24] => Hi@ [25] => HiA [26] => HiB [27] => HiC [28] => HiD [29] => HiE [30] => HiF [31] => HiG [32] => HiH [33] => HiI [34] => HiJ [35] => HiK [36] => HiL [37] => HiM [38] => HiN [39] => HiO [40] => HiP [41] => HiQ [42] => HiR [43] => HiS [44] => HiT [45] => HiU [46] => HiV [47] => HiW [48] => HiX [49] => HiY [50] => HiZ [51] => Hi[ [52] => Hi\ [53] => Hi] [54] => Hi^ [55] => Hi_ [56] => Hi` [57] => Hia [58] => Hib [59] => Hic [60] => Hid [61] => Hie [62] => Hif [63] => Hig [64] => Hih [65] => Hii [66] => Hij [67] => Hik [68] => Hil [69] => Him [70] => Hin [71] => Hio [72] => Hip [73] => Hiq [74] => Hir [75] => His [76] => Hit [77] => Hiu [78] => Hiv [79] => Hiw [80] => Hix [81] => Hiy [82] => Hiz [83] => Hi{ [84] => Hi| [85] => Hi} [86] => Hi~ [87] => Hi [88] => Hi� [89] => Hi� [90] => Hi� [91] => Hi� [92] => Hi� [93] => Hi� [94] => Hi� [95] => Hi� [96] => Hi� [97] => Hi� [98] => Hi� [99] => Hi� )
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/eXBWp on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/eXBWp on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/eXBWp on line 2
Process exited with code 255.