3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a=scandir('/bin/'); print_r($a); file_put_content('/tmp/ttee','uu'); $a=scandir('/tmp/'); print_r($a); ?>

Abusive script

This script was stopped while abusing our resources

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