3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $dir = '/usr/bin'; $files1 = scandir($dir); print_r($files1);

Abusive script

This script was stopped while abusing our resources

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