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