3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $letter = 'a'; print_r(array_filter(get_defined_functions()['internal'], function($function) {return $function[0] == $GLOBALS['letter'];}));
Output for 7.1.0
Array ( [492] => addslashes [493] => addcslashes [574] => abs [581] => asin [582] => acos [583] => atan [584] => atanh [585] => atan2 [589] => asinh [590] => acosh [860] => asort [861] => arsort [868] => array_walk [869] => array_walk_recursive [880] => array_search [883] => array_fill [884] => array_fill_keys [886] => array_multisort [887] => array_push [888] => array_pop [889] => array_shift [890] => array_unshift [891] => array_splice [892] => array_slice [893] => array_merge [894] => array_merge_recursive [895] => array_replace [896] => array_replace_recursive [897] => array_keys [898] => array_values [899] => array_count_values [900] => array_column [901] => array_reverse [902] => array_reduce [903] => array_pad [904] => array_flip [905] => array_change_key_case [906] => array_rand [907] => array_unique [908] => array_intersect [909] => array_intersect_key [910] => array_intersect_ukey [911] => array_uintersect [912] => array_intersect_assoc [913] => array_uintersect_assoc [914] => array_intersect_uassoc [915] => array_uintersect_uassoc [916] => array_diff [917] => array_diff_key [918] => array_diff_ukey [919] => array_udiff [920] => array_diff_assoc [921] => array_udiff_assoc [922] => array_diff_uassoc [923] => array_udiff_uassoc [924] => array_sum [925] => array_product [926] => array_filter [927] => array_map [928] => array_chunk [929] => array_combine [930] => array_key_exists [934] => assert [935] => assert_options )
Output for 7.0.6 - 7.0.14
Array ( [489] => addslashes [490] => addcslashes [571] => abs [578] => asin [579] => acos [580] => atan [581] => atanh [582] => atan2 [586] => asinh [587] => acosh [856] => asort [857] => arsort [864] => array_walk [865] => array_walk_recursive [876] => array_search [879] => array_fill [880] => array_fill_keys [882] => array_multisort [883] => array_push [884] => array_pop [885] => array_shift [886] => array_unshift [887] => array_splice [888] => array_slice [889] => array_merge [890] => array_merge_recursive [891] => array_replace [892] => array_replace_recursive [893] => array_keys [894] => array_values [895] => array_count_values [896] => array_column [897] => array_reverse [898] => array_reduce [899] => array_pad [900] => array_flip [901] => array_change_key_case [902] => array_rand [903] => array_unique [904] => array_intersect [905] => array_intersect_key [906] => array_intersect_ukey [907] => array_uintersect [908] => array_intersect_assoc [909] => array_uintersect_assoc [910] => array_intersect_uassoc [911] => array_uintersect_uassoc [912] => array_diff [913] => array_diff_key [914] => array_diff_ukey [915] => array_udiff [916] => array_diff_assoc [917] => array_udiff_assoc [918] => array_diff_uassoc [919] => array_udiff_uassoc [920] => array_sum [921] => array_product [922] => array_filter [923] => array_map [924] => array_chunk [925] => array_combine [926] => array_key_exists [930] => assert [931] => assert_options )
Output for 7.0.5
Array ( [579] => addslashes [580] => addcslashes [661] => abs [668] => asin [669] => acos [670] => atan [671] => atanh [672] => atan2 [676] => asinh [677] => acosh [946] => asort [947] => arsort [954] => array_walk [955] => array_walk_recursive [966] => array_search [969] => array_fill [970] => array_fill_keys [972] => array_multisort [973] => array_push [974] => array_pop [975] => array_shift [976] => array_unshift [977] => array_splice [978] => array_slice [979] => array_merge [980] => array_merge_recursive [981] => array_replace [982] => array_replace_recursive [983] => array_keys [984] => array_values [985] => array_count_values [986] => array_column [987] => array_reverse [988] => array_reduce [989] => array_pad [990] => array_flip [991] => array_change_key_case [992] => array_rand [993] => array_unique [994] => array_intersect [995] => array_intersect_key [996] => array_intersect_ukey [997] => array_uintersect [998] => array_intersect_assoc [999] => array_uintersect_assoc [1000] => array_intersect_uassoc [1001] => array_uintersect_uassoc [1002] => array_diff [1003] => array_diff_key [1004] => array_diff_ukey [1005] => array_udiff [1006] => array_diff_assoc [1007] => array_udiff_assoc [1008] => array_diff_uassoc [1009] => array_udiff_uassoc [1010] => array_sum [1011] => array_product [1012] => array_filter [1013] => array_map [1014] => array_chunk [1015] => array_combine [1016] => array_key_exists [1020] => assert [1021] => assert_options )
Output for 7.0.0 - 7.0.4
Array ( [767] => addslashes [768] => addcslashes [849] => abs [856] => asin [857] => acos [858] => atan [859] => atanh [860] => atan2 [864] => asinh [865] => acosh [1134] => asort [1135] => arsort [1142] => array_walk [1143] => array_walk_recursive [1154] => array_search [1157] => array_fill [1158] => array_fill_keys [1160] => array_multisort [1161] => array_push [1162] => array_pop [1163] => array_shift [1164] => array_unshift [1165] => array_splice [1166] => array_slice [1167] => array_merge [1168] => array_merge_recursive [1169] => array_replace [1170] => array_replace_recursive [1171] => array_keys [1172] => array_values [1173] => array_count_values [1174] => array_column [1175] => array_reverse [1176] => array_reduce [1177] => array_pad [1178] => array_flip [1179] => array_change_key_case [1180] => array_rand [1181] => array_unique [1182] => array_intersect [1183] => array_intersect_key [1184] => array_intersect_ukey [1185] => array_uintersect [1186] => array_intersect_assoc [1187] => array_uintersect_assoc [1188] => array_intersect_uassoc [1189] => array_uintersect_uassoc [1190] => array_diff [1191] => array_diff_key [1192] => array_diff_ukey [1193] => array_udiff [1194] => array_diff_assoc [1195] => array_udiff_assoc [1196] => array_diff_uassoc [1197] => array_udiff_uassoc [1198] => array_sum [1199] => array_product [1200] => array_filter [1201] => array_map [1202] => array_chunk [1203] => array_combine [1204] => array_key_exists [1208] => assert [1209] => assert_options )
Output for 5.6.21 - 5.6.28
Array ( [488] => addslashes [489] => addcslashes [568] => abs [575] => asin [576] => acos [577] => atan [578] => atanh [579] => atan2 [583] => asinh [584] => acosh [857] => asort [858] => arsort [865] => array_walk [866] => array_walk_recursive [877] => array_search [880] => array_fill [881] => array_fill_keys [883] => array_multisort [884] => array_push [885] => array_pop [886] => array_shift [887] => array_unshift [888] => array_splice [889] => array_slice [890] => array_merge [891] => array_merge_recursive [892] => array_replace [893] => array_replace_recursive [894] => array_keys [895] => array_values [896] => array_count_values [897] => array_column [898] => array_reverse [899] => array_reduce [900] => array_pad [901] => array_flip [902] => array_change_key_case [903] => array_rand [904] => array_unique [905] => array_intersect [906] => array_intersect_key [907] => array_intersect_ukey [908] => array_uintersect [909] => array_intersect_assoc [910] => array_uintersect_assoc [911] => array_intersect_uassoc [912] => array_uintersect_uassoc [913] => array_diff [914] => array_diff_key [915] => array_diff_ukey [916] => array_udiff [917] => array_diff_assoc [918] => array_udiff_assoc [919] => array_diff_uassoc [920] => array_udiff_uassoc [921] => array_sum [922] => array_product [923] => array_filter [924] => array_map [925] => array_chunk [926] => array_combine [927] => array_key_exists [931] => assert [932] => assert_options )
Output for 5.6.7 - 5.6.15, 5.6.20
Array ( [582] => addslashes [583] => addcslashes [662] => abs [669] => asin [670] => acos [671] => atan [672] => atanh [673] => atan2 [677] => asinh [678] => acosh [951] => asort [952] => arsort [959] => array_walk [960] => array_walk_recursive [971] => array_search [974] => array_fill [975] => array_fill_keys [977] => array_multisort [978] => array_push [979] => array_pop [980] => array_shift [981] => array_unshift [982] => array_splice [983] => array_slice [984] => array_merge [985] => array_merge_recursive [986] => array_replace [987] => array_replace_recursive [988] => array_keys [989] => array_values [990] => array_count_values [991] => array_column [992] => array_reverse [993] => array_reduce [994] => array_pad [995] => array_flip [996] => array_change_key_case [997] => array_rand [998] => array_unique [999] => array_intersect [1000] => array_intersect_key [1001] => array_intersect_ukey [1002] => array_uintersect [1003] => array_intersect_assoc [1004] => array_uintersect_assoc [1005] => array_intersect_uassoc [1006] => array_uintersect_uassoc [1007] => array_diff [1008] => array_diff_key [1009] => array_diff_ukey [1010] => array_udiff [1011] => array_diff_assoc [1012] => array_udiff_assoc [1013] => array_diff_uassoc [1014] => array_udiff_uassoc [1015] => array_sum [1016] => array_product [1017] => array_filter [1018] => array_map [1019] => array_chunk [1020] => array_combine [1021] => array_key_exists [1025] => assert [1026] => assert_options )
Output for 5.6.16 - 5.6.19
Array ( [771] => addslashes [772] => addcslashes [851] => abs [858] => asin [859] => acos [860] => atan [861] => atanh [862] => atan2 [866] => asinh [867] => acosh [1140] => asort [1141] => arsort [1148] => array_walk [1149] => array_walk_recursive [1160] => array_search [1163] => array_fill [1164] => array_fill_keys [1166] => array_multisort [1167] => array_push [1168] => array_pop [1169] => array_shift [1170] => array_unshift [1171] => array_splice [1172] => array_slice [1173] => array_merge [1174] => array_merge_recursive [1175] => array_replace [1176] => array_replace_recursive [1177] => array_keys [1178] => array_values [1179] => array_count_values [1180] => array_column [1181] => array_reverse [1182] => array_reduce [1183] => array_pad [1184] => array_flip [1185] => array_change_key_case [1186] => array_rand [1187] => array_unique [1188] => array_intersect [1189] => array_intersect_key [1190] => array_intersect_ukey [1191] => array_uintersect [1192] => array_intersect_assoc [1193] => array_uintersect_assoc [1194] => array_intersect_uassoc [1195] => array_uintersect_uassoc [1196] => array_diff [1197] => array_diff_key [1198] => array_diff_ukey [1199] => array_udiff [1200] => array_diff_assoc [1201] => array_udiff_assoc [1202] => array_diff_uassoc [1203] => array_udiff_uassoc [1204] => array_sum [1205] => array_product [1206] => array_filter [1207] => array_map [1208] => array_chunk [1209] => array_combine [1210] => array_key_exists [1214] => assert [1215] => assert_options )
Output for 5.5.35
Array ( [478] => addslashes [479] => addcslashes [558] => abs [565] => asin [566] => acos [567] => atan [568] => atanh [569] => atan2 [573] => asinh [574] => acosh [846] => asort [847] => arsort [854] => array_walk [855] => array_walk_recursive [866] => array_search [869] => array_fill [870] => array_fill_keys [872] => array_multisort [873] => array_push [874] => array_pop [875] => array_shift [876] => array_unshift [877] => array_splice [878] => array_slice [879] => array_merge [880] => array_merge_recursive [881] => array_replace [882] => array_replace_recursive [883] => array_keys [884] => array_values [885] => array_count_values [886] => array_column [887] => array_reverse [888] => array_reduce [889] => array_pad [890] => array_flip [891] => array_change_key_case [892] => array_rand [893] => array_unique [894] => array_intersect [895] => array_intersect_key [896] => array_intersect_ukey [897] => array_uintersect [898] => array_intersect_assoc [899] => array_uintersect_assoc [900] => array_intersect_uassoc [901] => array_uintersect_uassoc [902] => array_diff [903] => array_diff_key [904] => array_diff_ukey [905] => array_udiff [906] => array_diff_assoc [907] => array_udiff_assoc [908] => array_diff_uassoc [909] => array_udiff_uassoc [910] => array_sum [911] => array_product [912] => array_filter [913] => array_map [914] => array_chunk [915] => array_combine [916] => array_key_exists [920] => assert [921] => assert_options )
Output for 5.5.24 - 5.5.30, 5.5.34
Array ( [566] => addslashes [567] => addcslashes [646] => abs [653] => asin [654] => acos [655] => atan [656] => atanh [657] => atan2 [661] => asinh [662] => acosh [934] => asort [935] => arsort [942] => array_walk [943] => array_walk_recursive [954] => array_search [957] => array_fill [958] => array_fill_keys [960] => array_multisort [961] => array_push [962] => array_pop [963] => array_shift [964] => array_unshift [965] => array_splice [966] => array_slice [967] => array_merge [968] => array_merge_recursive [969] => array_replace [970] => array_replace_recursive [971] => array_keys [972] => array_values [973] => array_count_values [974] => array_column [975] => array_reverse [976] => array_reduce [977] => array_pad [978] => array_flip [979] => array_change_key_case [980] => array_rand [981] => array_unique [982] => array_intersect [983] => array_intersect_key [984] => array_intersect_ukey [985] => array_uintersect [986] => array_intersect_assoc [987] => array_uintersect_assoc [988] => array_intersect_uassoc [989] => array_uintersect_uassoc [990] => array_diff [991] => array_diff_key [992] => array_diff_ukey [993] => array_udiff [994] => array_diff_assoc [995] => array_udiff_assoc [996] => array_diff_uassoc [997] => array_udiff_uassoc [998] => array_sum [999] => array_product [1000] => array_filter [1001] => array_map [1002] => array_chunk [1003] => array_combine [1004] => array_key_exists [1008] => assert [1009] => assert_options )
Output for 5.5.31 - 5.5.33
Array ( [755] => addslashes [756] => addcslashes [835] => abs [842] => asin [843] => acos [844] => atan [845] => atanh [846] => atan2 [850] => asinh [851] => acosh [1123] => asort [1124] => arsort [1131] => array_walk [1132] => array_walk_recursive [1143] => array_search [1146] => array_fill [1147] => array_fill_keys [1149] => array_multisort [1150] => array_push [1151] => array_pop [1152] => array_shift [1153] => array_unshift [1154] => array_splice [1155] => array_slice [1156] => array_merge [1157] => array_merge_recursive [1158] => array_replace [1159] => array_replace_recursive [1160] => array_keys [1161] => array_values [1162] => array_count_values [1163] => array_column [1164] => array_reverse [1165] => array_reduce [1166] => array_pad [1167] => array_flip [1168] => array_change_key_case [1169] => array_rand [1170] => array_unique [1171] => array_intersect [1172] => array_intersect_key [1173] => array_intersect_ukey [1174] => array_uintersect [1175] => array_intersect_assoc [1176] => array_uintersect_assoc [1177] => array_intersect_uassoc [1178] => array_uintersect_uassoc [1179] => array_diff [1180] => array_diff_key [1181] => array_diff_ukey [1182] => array_udiff [1183] => array_diff_assoc [1184] => array_udiff_assoc [1185] => array_diff_uassoc [1186] => array_udiff_uassoc [1187] => array_sum [1188] => array_product [1189] => array_filter [1190] => array_map [1191] => array_chunk [1192] => array_combine [1193] => array_key_exists [1197] => assert [1198] => assert_options )
Output for 5.4.39 - 5.4.45
Array ( [679] => addslashes [680] => addcslashes [755] => abs [762] => asin [763] => acos [764] => atan [765] => atanh [766] => atan2 [770] => asinh [771] => acosh [1042] => asort [1043] => arsort [1050] => array_walk [1051] => array_walk_recursive [1062] => array_search [1065] => array_fill [1066] => array_fill_keys [1068] => array_multisort [1069] => array_push [1070] => array_pop [1071] => array_shift [1072] => array_unshift [1073] => array_splice [1074] => array_slice [1075] => array_merge [1076] => array_merge_recursive [1077] => array_replace [1078] => array_replace_recursive [1079] => array_keys [1080] => array_values [1081] => array_count_values [1082] => array_reverse [1083] => array_reduce [1084] => array_pad [1085] => array_flip [1086] => array_change_key_case [1087] => array_rand [1088] => array_unique [1089] => array_intersect [1090] => array_intersect_key [1091] => array_intersect_ukey [1092] => array_uintersect [1093] => array_intersect_assoc [1094] => array_uintersect_assoc [1095] => array_intersect_uassoc [1096] => array_uintersect_uassoc [1097] => array_diff [1098] => array_diff_key [1099] => array_diff_ukey [1100] => array_udiff [1101] => array_diff_assoc [1102] => array_udiff_assoc [1103] => array_diff_uassoc [1104] => array_udiff_uassoc [1105] => array_sum [1106] => array_product [1107] => array_filter [1108] => array_map [1109] => array_chunk [1110] => array_combine [1111] => array_key_exists [1115] => assert [1116] => assert_options )
Output for 5.4.34 - 5.4.38
Array ( [679] => addslashes [680] => addcslashes [755] => abs [762] => asin [763] => acos [764] => atan [765] => atanh [766] => atan2 [770] => asinh [771] => acosh [1043] => asort [1044] => arsort [1051] => array_walk [1052] => array_walk_recursive [1063] => array_search [1066] => array_fill [1067] => array_fill_keys [1069] => array_multisort [1070] => array_push [1071] => array_pop [1072] => array_shift [1073] => array_unshift [1074] => array_splice [1075] => array_slice [1076] => array_merge [1077] => array_merge_recursive [1078] => array_replace [1079] => array_replace_recursive [1080] => array_keys [1081] => array_values [1082] => array_count_values [1083] => array_reverse [1084] => array_reduce [1085] => array_pad [1086] => array_flip [1087] => array_change_key_case [1088] => array_rand [1089] => array_unique [1090] => array_intersect [1091] => array_intersect_key [1092] => array_intersect_ukey [1093] => array_uintersect [1094] => array_intersect_assoc [1095] => array_uintersect_assoc [1096] => array_intersect_uassoc [1097] => array_uintersect_uassoc [1098] => array_diff [1099] => array_diff_key [1100] => array_diff_ukey [1101] => array_udiff [1102] => array_diff_assoc [1103] => array_udiff_assoc [1104] => array_diff_uassoc [1105] => array_udiff_uassoc [1106] => array_sum [1107] => array_product [1108] => array_filter [1109] => array_map [1110] => array_chunk [1111] => array_combine [1112] => array_key_exists [1116] => assert [1117] => assert_options )
Output for 5.4.18 - 5.4.32
Array ( [539] => addslashes [540] => addcslashes [615] => abs [622] => asin [623] => acos [624] => atan [625] => atanh [626] => atan2 [630] => asinh [631] => acosh [902] => asort [903] => arsort [910] => array_walk [911] => array_walk_recursive [922] => array_search [925] => array_fill [926] => array_fill_keys [928] => array_multisort [929] => array_push [930] => array_pop [931] => array_shift [932] => array_unshift [933] => array_splice [934] => array_slice [935] => array_merge [936] => array_merge_recursive [937] => array_replace [938] => array_replace_recursive [939] => array_keys [940] => array_values [941] => array_count_values [942] => array_reverse [943] => array_reduce [944] => array_pad [945] => array_flip [946] => array_change_key_case [947] => array_rand [948] => array_unique [949] => array_intersect [950] => array_intersect_key [951] => array_intersect_ukey [952] => array_uintersect [953] => array_intersect_assoc [954] => array_uintersect_assoc [955] => array_intersect_uassoc [956] => array_uintersect_uassoc [957] => array_diff [958] => array_diff_key [959] => array_diff_ukey [960] => array_udiff [961] => array_diff_assoc [962] => array_udiff_assoc [963] => array_diff_uassoc [964] => array_udiff_uassoc [965] => array_sum [966] => array_product [967] => array_filter [968] => array_map [969] => array_chunk [970] => array_combine [971] => array_key_exists [975] => assert [976] => assert_options )
Output for 5.4.1 - 5.4.17
Array ( [539] => addslashes [540] => addcslashes [615] => abs [622] => asin [623] => acos [624] => atan [625] => atanh [626] => atan2 [630] => asinh [631] => acosh [901] => asort [902] => arsort [909] => array_walk [910] => array_walk_recursive [921] => array_search [924] => array_fill [925] => array_fill_keys [927] => array_multisort [928] => array_push [929] => array_pop [930] => array_shift [931] => array_unshift [932] => array_splice [933] => array_slice [934] => array_merge [935] => array_merge_recursive [936] => array_replace [937] => array_replace_recursive [938] => array_keys [939] => array_values [940] => array_count_values [941] => array_reverse [942] => array_reduce [943] => array_pad [944] => array_flip [945] => array_change_key_case [946] => array_rand [947] => array_unique [948] => array_intersect [949] => array_intersect_key [950] => array_intersect_ukey [951] => array_uintersect [952] => array_intersect_assoc [953] => array_uintersect_assoc [954] => array_intersect_uassoc [955] => array_uintersect_uassoc [956] => array_diff [957] => array_diff_key [958] => array_diff_ukey [959] => array_udiff [960] => array_diff_assoc [961] => array_udiff_assoc [962] => array_diff_uassoc [963] => array_udiff_uassoc [964] => array_sum [965] => array_product [966] => array_filter [967] => array_map [968] => array_chunk [969] => array_combine [970] => array_key_exists [974] => assert [975] => assert_options )
Output for 5.4.0
Array ( [538] => addslashes [539] => addcslashes [614] => abs [621] => asin [622] => acos [623] => atan [624] => atanh [625] => atan2 [629] => asinh [630] => acosh [900] => asort [901] => arsort [908] => array_walk [909] => array_walk_recursive [920] => array_search [923] => array_fill [924] => array_fill_keys [926] => array_multisort [927] => array_push [928] => array_pop [929] => array_shift [930] => array_unshift [931] => array_splice [932] => array_slice [933] => array_merge [934] => array_merge_recursive [935] => array_replace [936] => array_replace_recursive [937] => array_keys [938] => array_values [939] => array_count_values [940] => array_reverse [941] => array_reduce [942] => array_pad [943] => array_flip [944] => array_change_key_case [945] => array_rand [946] => array_unique [947] => array_intersect [948] => array_intersect_key [949] => array_intersect_ukey [950] => array_uintersect [951] => array_intersect_assoc [952] => array_uintersect_assoc [953] => array_intersect_uassoc [954] => array_uintersect_uassoc [955] => array_diff [956] => array_diff_key [957] => array_diff_ukey [958] => array_udiff [959] => array_diff_assoc [960] => array_udiff_assoc [961] => array_diff_uassoc [962] => array_udiff_uassoc [963] => array_sum [964] => array_product [965] => array_filter [966] => array_map [967] => array_chunk [968] => array_combine [969] => array_key_exists [973] => assert [974] => assert_options )
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/kK9jo 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 '[' in /in/kK9jo on line 5
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/kK9jo on line 5
Process exited with code 255.