3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = Array ( [0] => 4004708326000 [1] => 4004708326253 [2] => 4004708326307 [3] => 4004708327007 [4] => 4004708327250 [5] => 4004708327304 [6] => 4004708345001 [7] => 4004708345025 [8] => 4004708345049 [9] => 4004708345308 [10] => 4004708345322 [11] => 4004708345407 [12] => 4004708345506 [13] => 4004708345605 [14] => 4004708345704 [15] => 4004708345018 [16] => 4004708345032 [17] => 4004708345056 [18] => 4004708345315 [19] => 4004708345339 [20] => 4004708345414 [21] => 4004708345513 [22] => 4004708345612 [23] => 4004708345803 [24] => 4004708346008 [25] => 4004708346022 [26] => 4004708346046 [27] => 4004708346305 [28] => 4004708346329 [29] => 4004708346404 [30] => 4004708346015 [31] => 4004708346039 [32] => 4004708346053 [33] => 4004708346312 [34] => 4004708346336 [35] => 4004708346411 [36] => 4004708346619 [37] => 4004708346626 [38] => 4004708346633 [39] => 4004708346640 [40] => 4004708346657 [41] => 4004708346817 [42] => 4004708346824 [43] => 4004708346831 [44] => 4004708346848 [45] => 4004708346855 [46] => 4004708353006 [47] => 4004708354232 [48] => 4004708355239 [49] => 4004708353020 [50] => 4004708354331 [51] => 4004708355338 [52] => 4004708353013 [53] => 4004708354034 [54] => 4004708355031 [55] => 4004708353037 [56] => 4004708354133 [57] => 4004708355130 [58] => 4004708353044 [59] => 4004708354256 [60] => 4004708355253 [61] => 4004708353051 [62] => 4004708354263 [63] => 4004708355352 [64] => 4004708352009 [65] => 4004708354249 [66] => 4004708355246 [67] => 4004708352023 [68] => 4004708354348 [69] => 4004708355345 [70] => 4004708352016 [71] => 4004708354041 [72] => 4004708355048 [73] => 4004708352030 [74] => 4004708354140 [75] => 4004708355147 [76] => 4004708352047 [77] => 4004708354058 [78] => 4004708355055 [79] => 4004708352054 [80] => 4004708354157 [81] => 4004708355161 [82] => 4004708353207 [83] => 4025823352200 [84] => 4004708353211 [85] => 4004708357509 [86] => 4004708357523 [87] => 4004708357554 [88] => 4004708357608 [89] => 4004708357622 [90] => 4004708357639 [91] => 4004708357707 [92] => 4004708357721 [93] => 4004708360011 [94] => 4004708360035 [95] => 4004708360042 [96] => 4004708361001 [97] => 4004708360028 [98] => 4004708363005 [99] => 4004708364002 [100] => 4004708361018 [101] => 4004708369038 [102] => 4004708363012 [103] => 4004708364019 [104] => 4004708389500 [105] => 4004708389517 [106] => 4004708389524 [107] => 4004708389531 [108] => 4004708389548 [109] => 4004708389562 [110] => 4004708538403 [111] => 4004708538502 [112] => 4004708382457 [113] => 4004708383454 [114] => 4004708382068 [115] => 4004708383065 [116] => 4004708382075 [117] => 4004708383072 [118] => 4004708382105 [119] => 4004708382549 [120] => 4004708385106 [121] => 4004708383546 [122] => 4004708384109 [123] => 4004708384123 [124] => 4004708386103 [125] => 4004708387551 [126] => 4004708382112 [127] => 4004708385113 [128] => 4004708384116 [129] => 4004708386110 [130] => 4004708387087 [131] => 4004708382648 [132] => 4004708387100 [133] => 4004708383638 [134] => 4004708388107 [135] => 4004708385441 [136] => 4004708389104 [137] => 4004708387506 [138] => 4004708387094 [139] => 4004708387117 [140] => 4004708388114 [141] => 4004708389111 [142] => 4004708382167 [143] => 4004708382501 [144] => 4004708383164 [145] => 4004708383560 [146] => 4004708384161 [147] => 4004708385007 [148] => 4004708386165 [149] => 4004708387650 [150] => 4004708382174 [151] => 4004708383171 [152] => 4004708384178 [153] => 4004708386172 [154] => 4004708387186 [155] => 4004708382556 [156] => 4004708387162 [157] => 4004708383652 [158] => 4004708388169 [159] => 4004708385502 [160] => 4004708389166 [161] => 4004708387605 [162] => 4004708387193 [163] => 4004708387179 [164] => 4004708388176 [165] => 4004708389173 [166] => 4004708392500 [167] => 4004708392517 [168] => 4004708392524 [169] => 4004708392531 [170] => 4004708392548 [171] => 4004708392555 [172] => 4004708392562 [173] => 4004708532074 [174] => 4004708533064 [175] => 4004708533088 [176] => 4004708532081 [177] => 4004708533071 [178] => 4004708533057 [179] => 4004708534054 [180] => 4004708536102 [181] => 4004708533095 [182] => 4004708534061 [183] => 4004708534078 [184] => 4004708536119 [185] => 4004708520019 [186] => 4004708521016 [187] => 4004708520149 [188] => 4004708521047 [189] => 4004708520170 [190] => 4004708520187 [191] => 4004708521207 [192] => 4004708521214 [193] => 4004708520293 [194] => 4004708520118 [195] => 4004708520255 [196] => 4004708530018 [197] => 4004708530056 [198] => 4004708533019 [199] => 4004708534016 [200] => 4004708530025 [201] => 4004708530063 [202] => 4004708533026 [203] => 4004708534023 [204] => 4004708530032 [205] => 4004708530070 [206] => 4004708533033 [207] => 4004708534030 [208] => 4004708530353 [209] => 4004708532104 [210] => 4004708532500 [211] => 4004708533200 [212] => 4004708534207 [213] => 4004708536201 [214] => 4004708537314 [215] => 4004708532166 [216] => 4004708532562 [217] => 4004708533163 [218] => 4004708534160 [219] => 4004708536164 [220] => 4004708537161 [221] => 4004708532111 [222] => 4004708532517 [223] => 4004708533217 [224] => 4004708534214 [225] => 4004708536218 [226] => 4004708537215 [227] => 4004708532173 [228] => 4004708532579 [229] => 4004708533170 [230] => 4004708534177 [231] => 4004708536171 [232] => 4004708537178 [233] => 4004708532302 [234] => 4004708532357 [235] => 4004708533309 [236] => 4004708534306 [237] => 4004708536300 [238] => 4004708537307 [239] => 4004708532401 [240] => 4004708532456 [241] => 4004708533408 [242] => 4004708534405 [243] => 4004708536409 [244] => 4004708537406 [245] => 4004708532180 [246] => 4004708532586 [247] => 4004708533187 [248] => 4004708534184 [249] => 4004708536188 [250] => 4004708538519 [251] => 4004708538540 [252] => 4004708538526 [253] => 4004708538533 [254] => 4004708538557 [255] => 4004708538564 [256] => 4004708532258 [257] => 4004708532135 [258] => 4004708532272 [259] => 4004708532142 [260] => 4004708532210 [261] => 4004708532197 [262] => 4004708532234 [263] => 4004708532203 [264] => 4004708535204 [265] => 4004708535303 [266] => 4004708535402 [267] => 4004708535600 [268] => 4004708535112 [269] => 4004708535211 [270] => 4004708535129 [271] => 4004708535228 [272] => 4004708535136 [273] => 4004708535235 [274] => 4004708535167 [275] => 4004708535174 [276] => 4004708535181 [277] => 4004708535143 [278] => 4004708535150 [279] => 4004708536607 [280] => 4004708536706 [281] => 4004708538700 [282] => 4004708538717 [283] => 4004708536713 [284] => 4004708304008 [285] => 4004708304015 [286] => 4004708304022 [287] => 4004708304039 [288] => 4004708304046 [289] => 4004708303537 [290] => 4004708303513 [291] => 4004708303506 [292] => 4004708303520 [293] => 4004708401004 [294] => 4004708401011 [295] => 4004708401028 [296] => 4004708401035 [297] => 4004708401042 [298] => 4004708401059 [299] => 4004708401066 [300] => 4004708401073 [301] => 4004708401080 [302] => 4004708388602 [303] => 4004708388619 [304] => 4004708388626 [305] => 4004708388633 [306] => 4004708388640 [307] => 4004708388657 [308] => 4004708388664 [309] => 4004708388671 [310] => 4004708388688 [311] => 4004708347609 ); $b = Array ( [0] => 4004708382549 [1] => 4004708392555 [2] => 4004708385106 [3] => 4004708383546 [4] => 4004708384109 [5] => 4004708384123 [6] => 4004708386103 [7] => 4004708387551 [8] => 4004708382112 [9] => 4004708385113 [10] => 4004708384116 [11] => 4004708386110 [12] => 4004708387087 [13] => 4004708382648 [14] => 4004708387100 [15] => 4004708383638 [16] => 4004708388107 [17] => 4004708385441 [18] => 4004708389104 [19] => 4004708387506 [20] => 4004708387094 [21] => 4004708387117 [22] => 4004708388114 [23] => 4004708389111 [24] => 4004708382167 [25] => 4004708382501 [26] => 4004708383164 [27] => 4004708383560 [28] => 4004708384161 [29] => 4004708385007 [30] => 4004708386165 [31] => 4004708387650 [32] => 4004708382174 [33] => 4004708383171 [34] => 4004708384178 [35] => 4004708386172 [36] => 4004708387186 [37] => 4004708382556 [38] => 4004708387162 [39] => 4004708383652 [40] => 4004708388169 [41] => 4004708385502 [42] => 4004708389166 [43] => 4004708387605 [44] => 4004708387193 [45] => 4004708387179 [46] => 4004708388176 [47] => 4004708389173 [48] => 4004708532104 [49] => 4004708532500 [50] => 4004708533200 [51] => 4004708534207 [52] => 4004708536201 [53] => 4004708537314 [54] => 4004708532166 [55] => 4004708532562 [56] => 4004708533163 [57] => 4004708534160 [58] => 4004708536164 [59] => 4004708537161 [60] => 4004708532111 [61] => 4004708532517 [62] => 4004708533217 [63] => 4004708534214 [64] => 4004708536218 [65] => 4004708537215 [66] => 4004708532173 [67] => 4004708532579 [68] => 4004708533170 [69] => 4004708534177 [70] => 4004708536171 [71] => 4004708537178 [72] => 4004708532302 [73] => 4004708533309 [74] => 4004708534306 [75] => 4004708536300 [76] => 4004708537307 [77] => 4004708532401 [78] => 4004708533408 [79] => 4004708534405 [80] => 4004708536409 [81] => 4004708537406 [82] => 4004708532135 [83] => 4004708532197 [84] => 4004708532142 [85] => 4004708532203 [86] => 4004708535204 [87] => 4004708535303 [88] => 4004708535402 [89] => 4004708535600 [90] => 4004708535211 [91] => 4004708535129 [92] => 4004708535136 [93] => 4004708345001 [94] => 4004708345025 [95] => 4004708345049 [96] => 4004708345308 [97] => 4004708345322 [98] => 4004708345407 [99] => 4004708345506 [100] => 4004708345605 [101] => 4004708345704 [102] => 4004708345018 [103] => 4004708345032 [104] => 4004708345056 [105] => 4004708345315 [106] => 4004708345339 [107] => 4004708345414 [108] => 4004708345513 [109] => 4004708345612 [110] => 4004708345803 [111] => 4004708346008 [112] => 4004708346022 [113] => 4004708346046 [114] => 4004708346305 [115] => 4004708346329 [116] => 4004708346404 [117] => 4004708346015 [118] => 4004708346039 [119] => 4004708346053 [120] => 4004708346312 [121] => 4004708346336 [122] => 4004708346411 [123] => 4004708346619 [124] => 4004708346626 [125] => 4004708346633 [126] => 4004708346640 [127] => 4004708346657 [128] => 4004708346817 [129] => 4004708346824 [130] => 4004708346831 [131] => 4004708346848 [132] => 4004708346855 [133] => 4004708536607 [134] => 4004708536706 [135] => 4004708535235 [136] => 4004708535112 [137] => 4004708532180 [138] => 4004708532586 [139] => 4004708533187 [140] => 4004708534184 [141] => 4004708536188 [142] => 4004708535228 [143] => 4004708382105 [144] => 4004708521214 [145] => 4004708521207 [146] => 4004708520293 [147] => 4004708520118 [148] => 4004708520255 [149] => 4004708392500 [150] => 4004708392517 [151] => 4004708392524 [152] => 4004708392531 [153] => 4004708392548 [154] => 4004708392562 [155] => 4004708389500 [156] => 4004708389517 [157] => 4004708389524 [158] => 4004708389531 [159] => 4004708389548 [160] => 4004708389562 [161] => 4004708538403 [162] => 4004708538502 [163] => 4004708533088 [164] => 4004708535143 [165] => 4004708535150 [166] => 4004708535167 [167] => 4004708357608 [168] => 4004708357639 [169] => 4004708357707 [170] => 4004708357721 [171] => 4004708532357 [172] => 4004708532456 [173] => 4004708326000 [174] => 4004708326253 [175] => 4004708326307 [176] => 4004708327007 [177] => 4004708327250 [178] => 4004708327304 [179] => 4004708345001 [180] => 4004708345025 [181] => 4004708345049 [182] => 4004708345308 [183] => 4004708345322 [184] => 4004708345407 [185] => 4004708345506 [186] => 4004708345605 [187] => 4004708345704 [188] => 4004708345018 [189] => 4004708345032 [190] => 4004708345056 [191] => 4004708345315 [192] => 4004708345339 [193] => 4004708345414 [194] => 4004708345513 [195] => 4004708345612 [196] => 4004708345803 [197] => 4004708346008 [198] => 4004708346022 [199] => 4004708346046 [200] => 4004708346305 [201] => 4004708346329 [202] => 4004708346404 [203] => 4004708346015 [204] => 4004708346039 [205] => 4004708346053 [206] => 4004708346312 [207] => 4004708346336 [208] => 4004708346411 [209] => 4004708346619 [210] => 4004708346626 [211] => 4004708346633 [212] => 4004708346640 [213] => 4004708346657 [214] => 4004708346817 [215] => 4004708346824 [216] => 4004708346831 [217] => 4004708346848 [218] => 4004708346855 [219] => 4004708353006 [220] => 4004708354232 [221] => 4004708355239 [222] => 4004708353020 [223] => 4004708354331 [224] => 4004708355338 [225] => 4004708353013 [226] => 4004708354034 [227] => 4004708355031 [228] => 4004708353037 [229] => 4004708354133 [230] => 4004708355130 [231] => 4004708353044 [232] => 4004708354256 [233] => 4004708355253 [234] => 4004708353051 [235] => 4004708354263 [236] => 4004708355352 [237] => 4004708352009 [238] => 4004708354249 [239] => 4004708355246 [240] => 4004708352023 [241] => 4004708354348 [242] => 4004708355345 [243] => 4004708352016 [244] => 4004708354041 [245] => 4004708355048 [246] => 4004708352030 [247] => 4004708354140 [248] => 4004708355147 [249] => 4004708352047 [250] => 4004708354058 [251] => 4004708355055 [252] => 4004708352054 [253] => 4004708354157 [254] => 4004708355161 [255] => 4004708353207 [256] => 4025823352200 [257] => 4004708353211 [258] => 4004708357509 [259] => 4004708357523 [260] => 4004708357554 [261] => 4004708357608 [262] => 4004708357622 [263] => 4004708357639 [264] => 4004708357707 [265] => 4004708357721 [266] => 4004708360011 [267] => 4004708360035 [268] => 4004708360042 [269] => 4004708361001 [270] => 4004708360028 [271] => 4004708363005 [272] => 4004708364002 [273] => 4004708361018 [274] => 4004708369038 [275] => 4004708363012 [276] => 4004708364019 [277] => 4004708389500 [278] => 4004708389517 [279] => 4004708389524 [280] => 4004708389531 [281] => 4004708389548 [282] => 4004708389562 [283] => 4004708538403 [284] => 4004708538502 [285] => 4004708382457 [286] => 4004708383454 [287] => 4004708382068 [288] => 4004708383065 [289] => 4004708382075 [290] => 4004708383072 [291] => 4004708382105 [292] => 4004708382549 [293] => 4004708385106 [294] => 4004708383546 [295] => 4004708384109 [296] => 4004708384123 [297] => 4004708386103 [298] => 4004708387551 [299] => 4004708382112 [300] => 4004708385113 [301] => 4004708384116 [302] => 4004708386110 [303] => 4004708387087 [304] => 4004708382648 [305] => 4004708387100 [306] => 4004708383638 [307] => 4004708388107 [308] => 4004708385441 [309] => 4004708389104 [310] => 4004708387506 [311] => 4004708387094 [312] => 4004708387117 [313] => 4004708388114 [314] => 4004708389111 [315] => 4004708382167 [316] => 4004708382501 [317] => 4004708383164 [318] => 4004708383560 [319] => 4004708384161 [320] => 4004708385007 [321] => 4004708386165 [322] => 4004708387650 [323] => 4004708382174 [324] => 4004708383171 [325] => 4004708384178 [326] => 4004708386172 [327] => 4004708387186 [328] => 4004708382556 [329] => 4004708387162 [330] => 4004708383652 [331] => 4004708388169 [332] => 4004708385502 [333] => 4004708389166 [334] => 4004708387605 [335] => 4004708387193 [336] => 4004708387179 [337] => 4004708388176 [338] => 4004708389173 [339] => 4004708392500 [340] => 4004708392517 [341] => 4004708392524 [342] => 4004708392531 [343] => 4004708392548 [344] => 4004708392555 [345] => 4004708392562 [346] => 4004708532074 [347] => 4004708533064 [348] => 4004708533088 [349] => 4004708532081 [350] => 4004708533071 [351] => 4004708533057 [352] => 4004708534054 [353] => 4004708536102 [354] => 4004708533095 [355] => 4004708534061 [356] => 4004708534078 [357] => 4004708536119 [358] => 4004708520019 [359] => 4004708521016 [360] => 4004708520149 [361] => 4004708521047 [362] => 4004708520170 [363] => 4004708520187 [364] => 4004708521207 [365] => 4004708521214 [366] => 4004708520293 [367] => 4004708520118 [368] => 4004708520255 [369] => 4004708530018 [370] => 4004708530056 [371] => 4004708533019 [372] => 4004708534016 [373] => 4004708530025 [374] => 4004708530063 [375] => 4004708533026 [376] => 4004708534023 [377] => 4004708530032 [378] => 4004708530070 [379] => 4004708533033 [380] => 4004708534030 [381] => 4004708530353 [382] => 4004708532104 [383] => 4004708532500 [384] => 4004708533200 [385] => 4004708534207 [386] => 4004708536201 [387] => 4004708537314 [388] => 4004708532166 [389] => 4004708532562 [390] => 4004708533163 [391] => 4004708534160 [392] => 4004708536164 [393] => 4004708537161 [394] => 4004708532111 [395] => 4004708532517 [396] => 4004708533217 [397] => 4004708534214 [398] => 4004708536218 [399] => 4004708537215 [400] => 4004708532173 [401] => 4004708532579 [402] => 4004708533170 [403] => 4004708534177 [404] => 4004708536171 [405] => 4004708537178 [406] => 4004708532302 [407] => 4004708532357 [408] => 4004708533309 [409] => 4004708534306 [410] => 4004708536300 [411] => 4004708537307 [412] => 4004708532401 [413] => 4004708532456 [414] => 4004708533408 [415] => 4004708534405 [416] => 4004708536409 [417] => 4004708537406 [418] => 4004708532180 [419] => 4004708532586 [420] => 4004708533187 [421] => 4004708534184 [422] => 4004708536188 [423] => 4004708538519 [424] => 4004708538540 [425] => 4004708538526 [426] => 4004708538533 [427] => 4004708538557 [428] => 4004708538564 [429] => 4004708532258 [430] => 4004708532135 [431] => 4004708532272 [432] => 4004708532142 [433] => 4004708532210 [434] => 4004708532197 [435] => 4004708532234 [436] => 4004708532203 [437] => 4004708535204 [438] => 4004708535303 [439] => 4004708535402 [440] => 4004708535600 [441] => 4004708535112 [442] => 4004708535211 [443] => 4004708535129 [444] => 4004708535228 [445] => 4004708535136 [446] => 4004708535235 [447] => 4004708535167 [448] => 4004708535174 [449] => 4004708535181 [450] => 4004708535143 [451] => 4004708535150 [452] => 4004708536607 [453] => 4004708536706 [454] => 4004708538700 [455] => 4004708538717 [456] => 4004708536713 [457] => 4004708304008 [458] => 4004708304015 [459] => 4004708304022 [460] => 4004708304039 [461] => 4004708304046 [462] => 4004708303537 [463] => 4004708303513 [464] => 4004708303506 [465] => 4004708303520 [466] => 4004708401004 [467] => 4004708401011 [468] => 4004708401028 [469] => 4004708401035 [470] => 4004708401042 [471] => 4004708401059 [472] => 4004708401066 [473] => 4004708401073 [474] => 4004708401080 [475] => 4004708388602 [476] => 4004708388619 [477] => 4004708388626 [478] => 4004708388633 [479] => 4004708388640 [480] => 4004708388657 [481] => 4004708388664 [482] => 4004708388671 [483] => 4004708388688 [484] => 4004708347609 ); var_dump(array_diff($a, $b));
Output for 5.3.0 - 5.4.23
Parse error: syntax error, unexpected '[', expecting ')' in /in/hLfOS on line 3
Process exited with code 255.