3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(scandir("/bin"));

Abusive script

This script was stopped while abusing our resources

Output for 5.0.0 - 5.6.23, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.0.8
array(261) { [0]=> string(1) "." [1]=> string(2) ".." [2]=> string(6) "daemon" [3]=> string(17) "daemon-preload.so" [4]=> string(4) "dash" [5]=> string(9) "hh_client" [6]=> string(10) "hhvm-3.0.1" [7]=> string(10) "hhvm-3.1.0" [8]=> string(11) "hhvm-3.10.0" [9]=> string(11) "hhvm-3.10.1" [10]=> string(11) "hhvm-3.11.0" [11]=> string(11) "hhvm-3.12.0" [12]=> string(11) "hhvm-3.12.1" [13]=> string(11) "hhvm-3.14.0" [14]=> string(10) "hhvm-3.2.0" [15]=> string(10) "hhvm-3.3.0" [16]=> string(10) "hhvm-3.3.1" [17]=> string(10) "hhvm-3.4.0" [18]=> string(10) "hhvm-3.4.1" [19]=> string(10) "hhvm-3.5.0" [20]=> string(10) "hhvm-3.5.1" [21]=> string(10) "hhvm-3.6.0" [22]=> string(10) "hhvm-3.6.1" [23]=> string(10) "hhvm-3.7.0" [24]=> string(10) "hhvm-3.8.0" [25]=> string(10) "hhvm-3.8.1" [26]=> string(10) "hhvm-3.9.0" [27]=> string(10) "hhvm-3.9.1" [28]=> string(12) "hhvm-analyze" [29]=> string(11) "ph7-2001004" [30]=> string(9) "php-4.3.0" [31]=> string(9) "php-4.3.1" [32]=> string(10) "php-4.3.10" [33]=> string(10) "php-4.3.11" [34]=> string(9) "php-4.3.2" [35]=> string(9) "php-4.3.3" [36]=> string(9) "php-4.3.4" [37]=> string(9) "php-4.3.5" [38]=> string(9) "php-4.3.6" [39]=> string(9) "php-4.3.7" [40]=> string(9) "php-4.3.8" [41]=> string(9) "php-4.3.9" [42]=> string(9) "php-4.4.0" [43]=> string(9) "php-4.4.1" [44]=> string(9) "php-4.4.2" [45]=> string(9) "php-4.4.3" [46]=> string(9) "php-4.4.4" [47]=> string(9) "php-4.4.5" [48]=> string(9) "php-4.4.6" [49]=> string(9) "php-4.4.7" [50]=> string(9) "php-4.4.8" [51]=> string(9) "php-4.4.9" [52]=> string(9) "php-5.0.0" [53]=> string(9) "php-5.0.1" [54]=> string(9) "php-5.0.2" [55]=> string(9) "php-5.0.3" [56]=> string(9) "php-5.0.4" [57]=> string(9) "php-5.0.5" [58]=> string(9) "php-5.1.0" [59]=> string(9) "php-5.1.1" [60]=> string(9) "php-5.1.2" [61]=> string(9) "php-5.1.3" [62]=> string(9) "php-5.1.4" [63]=> string(9) "php-5.1.5" [64]=> string(9) "php-5.1.6" [65]=> string(9) "php-5.2.0" [66]=> string(9) "php-5.2.1" [67]=> string(10) "php-5.2.10" [68]=> string(10) "php-5.2.11" [69]=> string(10) "php-5.2.12" [70]=> string(10) "php-5.2.13" [71]=> string(10) "php-5.2.14" [72]=> string(10) "php-5.2.15" [73]=> string(10) "php-5.2.16" [74]=> string(10) "php-5.2.17" [75]=> string(9) "php-5.2.2" [76]=> string(9) "php-5.2.3" [77]=> string(9) "php-5.2.4" [78]=> string(9) "php-5.2.5" [79]=> string(9) "php-5.2.6" [80]=> string(9) "php-5.2.7" [81]=> string(9) "php-5.2.8" [82]=> string(9) "php-5.2.9" [83]=> string(9) "php-5.3.0" [84]=> string(9) "php-5.3.1" [85]=> string(10) "php-5.3.10" [86]=> string(10) "php-5.3.11" [87]=> string(10) "php-5.3.12" [88]=> string(10) "php-5.3.13" [89]=> string(10) "php-5.3.14" [90]=> string(10) "php-5.3.15" [91]=> string(10) "php-5.3.16" [92]=> string(10) "php-5.3.17" [93]=> string(10) "php-5.3.18" [94]=> string(10) "php-5.3.19" [95]=> string(9) "php-5.3.2" [96]=> string(10) "php-5.3.20" [97]=> string(10) "php-5.3.21" [98]=> string(10) "php-5.3.22" [99]=> string(10) "php-5.3.23" [100]=> string(10) "php-5.3.24" [101]=> string(10) "php-5.3.25" [102]=> string(10) "php-5.3.26" [103]=> string(10) "php-5.3.27" [104]=> string(10) "php-5.3.28" [105]=> string(10) "php-5.3.29" [106]=> string(9) "php-5.3.3" [107]=> string(9) "php-5.3.4" [108]=> string(9) "php-5.3.5" [109]=> string(9) "php-5.3.6" [110]=> string(9) "php-5.3.7" [111]=> string(9) "php-5.3.8" [112]=> string(9) "php-5.3.9" [113]=> string(9) "php-5.4.0" [114]=> string(9) "php-5.4.1" [115]=> string(10) "php-5.4.10" [116]=> string(10) "php-5.4.11" [117]=> string(10) "php-5.4.12" [118]=> string(10) "php-5.4.13" [119]=> string(10) "php-5.4.14" [120]=> string(10) "php-5.4.15" [121]=> string(10) "php-5.4.16" [122]=> string(10) "php-5.4.17" [123]=> string(10) "php-5.4.18" [124]=> string(10) "php-5.4.19" [125]=> string(9) "php-5.4.2" [126]=> string(10) "php-5.4.20" [127]=> string(10) "php-5.4.21" [128]=> string(10) "php-5.4.22" [129]=> string(10) "php-5.4.23" [130]=> string(10) "php-5.4.24" [131]=> string(10) "php-5.4.25" [132]=> string(10) "php-5.4.26" [133]=> string(10) "php-5.4.27" [134]=> string(10) "php-5.4.28" [135]=> string(10) "php-5.4.29" [136]=> string(9) "php-5.4.3" [137]=> string(10) "php-5.4.30" [138]=> string(10) "php-5.4.31" [139]=> string(10) "php-5.4.32" [140]=> string(10) "php-5.4.33" [141]=> string(10) "php-5.4.34" [142]=> string(10) "php-5.4.35" [143]=> string(10) "php-5.4.36" [144]=> string(10) "php-5.4.37" [145]=> string(10) "php-5.4.38" [146]=> string(10) "php-5.4.39" [147]=> string(9) "php-5.4.4" [148]=> string(10) "php-5.4.40" [149]=> string(10) "php-5.4.41" [150]=> string(10) "php-5.4.42" [151]=> string(10) "php-5.4.43" [152]=> string(10) "php-5.4.44" [153]=> string(10) "php-5.4.45" [154]=> string(9) "php-5.4.5" [155]=> string(9) "php-5.4.6" [156]=> string(9) "php-5.4.7" [157]=> string(9) "php-5.4.8" [158]=> string(9) "php-5.4.9" [159]=> string(9) "php-5.5.0" [160]=> string(9) "php-5.5.1" [161]=> string(10) "php-5.5.10" [162]=> string(10) "php-5.5.11" [163]=> string(10) "php-5.5.12" [164]=> string(10) "php-5.5.13" [165]=> string(10) "php-5.5.14" [166]=> string(10) "php-5.5.15" [167]=> string(10) "php-5.5.16" [168]=> string(10) "php-5.5.17" [169]=> string(10) "php-5.5.18" [170]=> string(10) "php-5.5.19" [171]=> string(9) "php-5.5.2" [172]=> string(10) "php-5.5.20" [173]=> string(10) "php-5.5.21" [174]=> string(10) "php-5.5.22" [175]=> string(10) "php-5.5.23" [176]=> string(10) "php-5.5.24" [177]=> string(10) "php-5.5.25" [178]=> string(10) "php-5.5.26" [179]=> string(10) "php-5.5.27" [180]=> string(10) "php-5.5.28" [181]=> string(10) "php-5.5.29" [182]=> string(9) "php-5.5.3" [183]=> string(10) "php-5.5.30" [184]=> string(10) "php-5.5.31" [185]=> string(10) "php-5.5.32" [186]=> string(10) "php-5.5.33" [187]=> string(10) "php-5.5.34" [188]=> string(10) "php-5.5.35" [189]=> string(10) "php-5.5.36" [190]=> string(10) "php-5.5.37" [191]=> string(9) "php-5.5.4" [192]=> string(9) "php-5.5.5" [193]=> string(9) "php-5.5.6" [194]=> string(9) "php-5.5.7" [195]=> string(9) "php-5.5.8" [196]=> string(9) "php-5.5.9" [197]=> string(9) "php-5.6.0" [198]=> string(9) "php-5.6.1" [199]=> string(10) "php-5.6.10" [200]=> string(10) "php-5.6.11" [201]=> string(10) "php-5.6.12" [202]=> string(10) "php-5.6.13" [203]=> string(10) "php-5.6.14" [204]=> string(10) "php-5.6.15" [205]=> string(10) "php-5.6.16" [206]=> string(10) "php-5.6.17" [207]=> string(10) "php-5.6.18" [208]=> string(10) "php-5.6.19" [209]=> string(9) "php-5.6.2" [210]=> string(10) "php-5.6.20" [211]=> string(10) "php-5.6.21" [212]=> string(10) "php-5.6.22" [213]=> string(10) "php-5.6.23" [214]=> string(9) "php-5.6.3" [215]=> string(9) "php-5.6.4" [216]=> string(9) "php-5.6.5" [217]=> string(9) "php-5.6.6" [218]=> string(9) "php-5.6.7" [219]=> string(9) "php-5.6.8" [220]=> string(9) "php-5.6.9" [221]=> string(9) "php-7.0.0" [222]=> string(12) "php-7.0.0RC1" [223]=> string(12) "php-7.0.0RC2" [224]=> string(12) "php-7.0.0RC3" [225]=> string(12) "php-7.0.0RC4" [226]=> string(12) "php-7.0.0RC5" [227]=> string(12) "php-7.0.0RC6" [228]=> string(12) "php-7.0.0RC7" [229]=> string(12) "php-7.0.0RC8" [230]=> string(15) "php-7.0.0alpha1" [231]=> string(15) "php-7.0.0alpha2" [232]=> string(14) "php-7.0.0beta1" [233]=> string(14) "php-7.0.0beta2" [234]=> string(14) "php-7.0.0beta3" [235]=> string(9) "php-7.0.1" [236]=> string(9) "php-7.0.2" [237]=> string(9) "php-7.0.3" [238]=> string(9) "php-7.0.4" [239]=> string(9) "php-7.0.5" [240]=> string(9) "php-7.0.6" [241]=> string(9) "php-7.0.7" [242]=> string(9) "php-7.0.8" [243]=> string(15) "php-7.1.0alpha1" [244]=> string(15) "php-7.1.0alpha2" [245]=> string(15) "php-7.1.0alpha3" [246]=> string(18) "php-7.1@54ff923ff5" [247]=> string(18) "php-debug-7.0.0RC1" [248]=> string(25) "php-rfc-anonymous_classes" [249]=> string(25) "php-rfc-array_change_keys" [250]=> string(25) "php-rfc-callable-typehint" [251]=> string(23) "php-rfc-func-interfaces" [252]=> string(20) "php-rfc-lexical-anon" [253]=> string(19) "php-rfc-multi-types" [254]=> string(28) "php-rfc-scalar_type_hints_v5" [255]=> string(22) "php-rfc-short_closures" [256]=> string(24) "php-rfc-typed_properties" [257]=> string(12) "php-segfault" [258]=> string(7) "php-vld" [259]=> string(2) "sh" [260]=> string(5) "which" }
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: scandir() in /in/Wu9so on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: scandir() in /in/Wu9so on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: scandir() in /in/Wu9so on line 3