3v4l.org

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