3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array(65536, 69633, 67586, 69637, 67590, 67591, 61449, 63498, 71691, 63501, 71699, 69653, 67608, 61467, 34138, 73175, 71720, 67628, 67641, 69690, 67645, 71742, 63552, 64864, 69705, 72901, 71763, 67670, 72154, 71777, 65637, 72721, 65651, 69748, 71798, 69752, 65661, 72726, 71818, 71363, 69780, 69783, 71832, 71833, 69787, 73072, 71850, 65717, 65722, 67777, 71876, 71877, 67784, 65743, 63697, 65748, 55509, 69857, 71918, 63730, 70698, 73088, 71939, 71943, 63759, 65808, 71960, 69931, 72413, 69941, 65851, 73098, 67906, 72003, 72004, 72044, 67949, 69693, 69423, 63862, 61817, 70012, 73450, 67969, 72077, 70032, 61847, 67994, 70043, 73114, 66602, 72101, 73458, 68015, 68017, 68018, 73461, 59829, 72119, 68028, 72437, 72128, 66983, 72135, 72139, 72140, 68046, 61911, 66009, 70106, 66011, 71417, 72158, 70115, 66026, 70123, 66032, 57842, 72787, 68084, 68085, 66039, 70139, 73130, 72191, 68100, 73132, 70154, 72203, 73133, 70160, 70161, 68114, 68115, 73135, 72222, 70178, 70182, 70183, 70185, 72238, 73056, 64053, 64054, 68152, 68153, 27196, 66111, 70208, 72459, 67340, 68171, 70222, 72278, 70231, 72921, 68187, 70238, 72805, 70242, 73147, 72806, 73467, 72299, 72891, 70261, 72313, 68218, 70267, 64124, 70269, 64127, 70273, 70274, 73127, 72326, 70281, 70283, 73154, 72338, 68244, 66197, 68246, 68247, 72353, 72817, 72363, 72364, 68269, 70429, 64179, 64180, 66229, 66236, 68289, 72389, 72395, 72396, 72399, 68304, 72403, 72412, 70365, 70366, 72416, 72418, 72420, 72828, 63613, 70385, 66293, 72438, 68345, 68346, 68347, 64254, 73173, 72450, 73174, 72456, 72457, 71127, 70413, 70421, 72470, 70426, 70427, 68381, 72479, 66336, 72481, 68392, 68400, 64315, 72511, 72521, 60234, 66383, 70484, 70489, 72541, 72543, 72545, 72546, 70459, 72548, 72549, 68456, 72558, 66415, 72560, 64374, 72569, 72570, 72573, 72576, 70531, 66436, 68496, 72593, 70551, 66458, 70555, 70558, 70559, 70561, 68516, 68522, 68523, 70750, 72623, 64433, 66482, 73466, 66488, 72522, 70592, 52162, 72183, 70606, 68431, 58333, 72670, 72672, 72673, 72674, 72675, 72676, 72683, 72798, 72685, 72686, 72687, 72693, 68604, 64513, 68610, 64517, 70664, 64528, 70673, 70676, 70678, 72879, 70687, 70688, 72737, 72527, 72741, 72881, 66600, 66601, 64554, 69127, 72750, 72751, 68787, 72756, 72757, 68662, 66615, 66616, 64573, 72766, 72768, 69472, 68675, 72773, 72775, 68682, 56396, 68688, 68691, 72788, 67428, 64606, 66659, 70757, 68710, 72807, 73234, 68721, 68722, 70771, 72827, 70780, 72830, 70783, 72832, 70848, 72837, 64647, 66696, 72841, 72842, 72843, 70796, 68749, 72846, 68752, 68753, 66707, 66709, 70808, 68761, 70853, 72869, 72870, 69489, 66729, 66735, 62640, 65736, 66739, 72884, 72885, 72886, 72888, 72889, 72890, 62651, 66752, 72897, 72898, 68804, 68805, 70862, 68819, 72916, 57209, 72920, 66777, 68826, 66781, 73253, 66785, 66786, 72932, 68838, 58599, 66793, 66795, 68846, 68850, 48371, 68854, 71892, 71210, 72960, 70919, 70923, 72973, 73285, 68883, 70935, 72984, 72580, 72991, 70944, 72993, 72999, 73005, 73009, 73011, 66870, 52538, 73019, 70973, 64830, 73025, 73026, 68931, 70198, 71905, 68936, 68939, 73036, 70990, 68946, 70998, 70999, 71002, 62811, 71008, 71568, 64868, 72606, 72746, 73070, 71024, 64881, 73081, 62843, 73084, 73085, 66944, 73280, 68996, 73094, 73095, 73096, 32138, 72599, 73103, 73107, 73108, 73110, 66967, 73112, 73113, 71066, 66972, 73117, 73119, 73121, 73122, 73286, 73126, 71079, 73128, 73129, 71082, 71083, 64940, 71922, 73134, 69039, 73136, 73137, 73138, 73139, 73140, 66997, 73146, 67003, 73149, 73151, 71104, 71106, 73155, 73158, 72609, 73162, 71118, 73167, 73169, 73171, 69076, 67029, 60886, 58839, 73176, 73177, 73179, 67036, 73182, 71136, 71139, 73297, 73192, 73193, 73194, 73195, 73497, 73197, 73200, 73201, 73205, 73207, 72747, 73293, 71167, 69121, 72619, 67079, 72620, 69131, 71181, 73231, 71186, 73236, 73238, 73239, 73242, 73244, 73248, 73250, 69156, 63013, 73255, 73256, 69162, 73260, 73261, 71214, 73263, 73265, 73022, 73272, 73295, 73275, 73276, 73277, 73278, 73227, 73283, 67141, 73159, 73287, 73288, 73289, 73290, 73291, 73292, 72290, 69199, 73296, 64440, 69202, 71253, 73302, 73303, 73304, 72919, 71260, 67167, 73312, 73313, 73314, 72819, 73319, 73320, 67178, 73331, 73333, 73334, 67194, 61052, 73343, 67201, 73502, 67204, 73350, 71304, 63115, 65164, 72642, 71310, 71311, 73363, 73298, 63126, 71620, 73370, 73374, 73377, 63138, 73379, 65194, 73387, 71343, 69297, 73396, 73397, 73402, 73403, 73409, 69315, 73412, 73413, 71367, 71370, 63188, 69333, 71387, 69340, 73438, 71392, 59108, 73448, 73449, 48874, 73301, 73456, 71410, 69365, 69369, 71418, 72319, 73468, 67326, 69378, 69384, 71435, 69388, 71439, 71440, 73489, 71443, 67907, 69398, 73348, 71450, 73499, 73501, 71454, 73503, 70984, 69409, 72667, 67369, 69419, 66525, 69425, 50994, 71477, 69440, 71644, 66187, 69444, 65352, 65353, 69452, 67406, 67407, 69460, 71510, 69464, 69470, 73032, 63332, 67429, 61295, 67441, 53109, 71545, 51066, 73214, 66199, 65424, 69521, 71571, 71574, 63383, 71581, 70981, 66010, 72818, 63395, 71595, 66435, 67505, 69554, 67509, 63416, 71613, 71614, 65472, 67524, 71625, 73378, 65489, 73038, 71640, 71642, 69596, 71645, 71652, 71653, 71656, 72700, 67563, 69616, 71665, 69618, 69628, 63485); $callback = function ($e) { return intval($e); }; echo implode(',', array_map($callback, (array) $arr));
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
65536,69633,67586,69637,67590,67591,61449,63498,71691,63501,71699,69653,67608,61467,34138,73175,71720,67628,67641,69690,67645,71742,63552,64864,69705,72901,71763,67670,72154,71777,65637,72721,65651,69748,71798,69752,65661,72726,71818,71363,69780,69783,71832,71833,69787,73072,71850,65717,65722,67777,71876,71877,67784,65743,63697,65748,55509,69857,71918,63730,70698,73088,71939,71943,63759,65808,71960,69931,72413,69941,65851,73098,67906,72003,72004,72044,67949,69693,69423,63862,61817,70012,73450,67969,72077,70032,61847,67994,70043,73114,66602,72101,73458,68015,68017,68018,73461,59829,72119,68028,72437,72128,66983,72135,72139,72140,68046,61911,66009,70106,66011,71417,72158,70115,66026,70123,66032,57842,72787,68084,68085,66039,70139,73130,72191,68100,73132,70154,72203,73133,70160,70161,68114,68115,73135,72222,70178,70182,70183,70185,72238,73056,64053,64054,68152,68153,27196,66111,70208,72459,67340,68171,70222,72278,70231,72921,68187,70238,72805,70242,73147,72806,73467,72299,72891,70261,72313,68218,70267,64124,70269,64127,70273,70274,73127,72326,70281,70283,73154,72338,68244,66197,68246,68247,72353,72817,72363,72364,68269,70429,64179,64180,66229,66236,68289,72389,72395,72396,72399,68304,72403,72412,70365,70366,72416,72418,72420,72828,63613,70385,66293,72438,68345,68346,68347,64254,73173,72450,73174,72456,72457,71127,70413,70421,72470,70426,70427,68381,72479,66336,72481,68392,68400,64315,72511,72521,60234,66383,70484,70489,72541,72543,72545,72546,70459,72548,72549,68456,72558,66415,72560,64374,72569,72570,72573,72576,70531,66436,68496,72593,70551,66458,70555,70558,70559,70561,68516,68522,68523,70750,72623,64433,66482,73466,66488,72522,70592,52162,72183,70606,68431,58333,72670,72672,72673,72674,72675,72676,72683,72798,72685,72686,72687,72693,68604,64513,68610,64517,70664,64528,70673,70676,70678,72879,70687,70688,72737,72527,72741,72881,66600,66601,64554,69127,72750,72751,68787,72756,72757,68662,66615,66616,64573,72766,72768,69472,68675,72773,72775,68682,56396,68688,68691,72788,67428,64606,66659,70757,68710,72807,73234,68721,68722,70771,72827,70780,72830,70783,72832,70848,72837,64647,66696,72841,72842,72843,70796,68749,72846,68752,68753,66707,66709,70808,68761,70853,72869,72870,69489,66729,66735,62640,65736,66739,72884,72885,72886,72888,72889,72890,62651,66752,72897,72898,68804,68805,70862,68819,72916,57209,72920,66777,68826,66781,73253,66785,66786,72932,68838,58599,66793,66795,68846,68850,48371,68854,71892,71210,72960,70919,70923,72973,73285,68883,70935,72984,72580,72991,70944,72993,72999,73005,73009,73011,66870,52538,73019,70973,64830,73025,73026,68931,70198,71905,68936,68939,73036,70990,68946,70998,70999,71002,62811,71008,71568,64868,72606,72746,73070,71024,64881,73081,62843,73084,73085,66944,73280,68996,73094,73095,73096,32138,72599,73103,73107,73108,73110,66967,73112,73113,71066,66972,73117,73119,73121,73122,73286,73126,71079,73128,73129,71082,71083,64940,71922,73134,69039,73136,73137,73138,73139,73140,66997,73146,67003,73149,73151,71104,71106,73155,73158,72609,73162,71118,73167,73169,73171,69076,67029,60886,58839,73176,73177,73179,67036,73182,71136,71139,73297,73192,73193,73194,73195,73497,73197,73200,73201,73205,73207,72747,73293,71167,69121,72619,67079,72620,69131,71181,73231,71186,73236,73238,73239,73242,73244,73248,73250,69156,63013,73255,73256,69162,73260,73261,71214,73263,73265,73022,73272,73295,73275,73276,73277,73278,73227,73283,67141,73159,73287,73288,73289,73290,73291,73292,72290,69199,73296,64440,69202,71253,73302,73303,73304,72919,71260,67167,73312,73313,73314,72819,73319,73320,67178,73331,73333,73334,67194,61052,73343,67201,73502,67204,73350,71304,63115,65164,72642,71310,71311,73363,73298,63126,71620,73370,73374,73377,63138,73379,65194,73387,71343,69297,73396,73397,73402,73403,73409,69315,73412,73413,71367,71370,63188,69333,71387,69340,73438,71392,59108,73448,73449,48874,73301,73456,71410,69365,69369,71418,72319,73468,67326,69378,69384,71435,69388,71439,71440,73489,71443,67907,69398,73348,71450,73499,73501,71454,73503,70984,69409,72667,67369,69419,66525,69425,50994,71477,69440,71644,66187,69444,65352,65353,69452,67406,67407,69460,71510,69464,69470,73032,63332,67429,61295,67441,53109,71545,51066,73214,66199,65424,69521,71571,71574,63383,71581,70981,66010,72818,63395,71595,66435,67505,69554,67509,63416,71613,71614,65472,67524,71625,73378,65489,73038,71640,71642,69596,71645,71652,71653,71656,72700,67563,69616,71665,69618,69628,63485
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Parse error: syntax error, unexpected T_FUNCTION in /in/CLshF on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_FUNCTION in /in/CLshF on line 5
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/CLshF on line 5
Process exited with code 255.