3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach (get_defined_functions()['internal'] as $f) { $rf = new ReflectionFunction($f); foreach ($rf->getParameters() as $p) { if ($p->isPassedByReference()) { echo $f, PHP_EOL; break; } } }
Output for 8.1.28, 8.2.18, 8.3.6
preg_match preg_match_all preg_replace preg_filter preg_replace_callback preg_replace_callback_array mb_parse_str mb_convert_variables mb_ereg mb_eregi array_push krsort ksort natsort natcasesort asort arsort sort rsort usort uasort uksort end prev next reset array_walk array_walk_recursive extract shuffle array_pop array_shift array_unshift array_splice array_multisort getopt dns_get_record dns_get_mx getmxrr headers_sent similar_text str_replace str_ireplace parse_str sscanf exec system passthru flock fscanf fsockopen pfsockopen getimagesize getimagesizefromstring stream_select stream_socket_client stream_socket_server stream_socket_accept stream_socket_recvfrom settype is_callable xml_parse_into_struct collator_sort collator_sort_with_sort_keys collator_asort datefmt_parse datefmt_localtime numfmt_parse numfmt_parse_currency grapheme_extract idn_to_ascii idn_to_utf8 intltz_get_canonical_id intltz_get_offset sodium_crypto_generichash_update sodium_crypto_generichash_final sodium_crypto_secretstream_xchacha20poly1305_push sodium_crypto_secretstream_xchacha20poly1305_pull sodium_crypto_secretstream_xchacha20poly1305_rekey sodium_add sodium_increment sodium_memzero
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 preg_match preg_match_all preg_replace preg_filter preg_replace_callback preg_replace_callback_array mb_parse_str mb_convert_variables mb_ereg mb_eregi array_push krsort ksort natsort natcasesort asort arsort sort rsort usort uasort uksort end prev next reset array_walk array_walk_recursive extract shuffle array_pop array_shift array_unshift array_splice array_multisort getopt dns_get_record dns_get_mx getmxrr headers_sent similar_text str_replace str_ireplace parse_str sscanf exec system passthru flock fscanf fsockopen pfsockopen getimagesize getimagesizefromstring stream_select stream_socket_client stream_socket_server stream_socket_accept stream_socket_recvfrom settype is_callable xml_parse_into_struct collator_sort collator_sort_with_sort_keys collator_asort datefmt_parse datefmt_localtime numfmt_parse numfmt_parse_currency grapheme_extract idn_to_ascii idn_to_utf8 intltz_get_canonical_id intltz_get_offset
Output for 8.0.1 - 8.0.12, 8.0.14 - 8.0.30, 8.1.0 - 8.1.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
preg_match preg_match_all preg_replace preg_filter preg_replace_callback preg_replace_callback_array mb_parse_str mb_convert_variables mb_ereg mb_eregi array_push krsort ksort natsort natcasesort asort arsort sort rsort usort uasort uksort end prev next reset array_walk array_walk_recursive extract shuffle array_pop array_shift array_unshift array_splice array_multisort getopt dns_get_record dns_get_mx getmxrr headers_sent similar_text str_replace str_ireplace parse_str sscanf exec system passthru flock fscanf fsockopen pfsockopen getimagesize getimagesizefromstring stream_select stream_socket_client stream_socket_server stream_socket_accept stream_socket_recvfrom settype is_callable xml_parse_into_struct collator_sort collator_sort_with_sort_keys collator_asort datefmt_parse datefmt_localtime numfmt_parse numfmt_parse_currency grapheme_extract idn_to_ascii idn_to_utf8 intltz_get_canonical_id intltz_get_offset sodium_crypto_generichash_update sodium_crypto_generichash_final sodium_add sodium_increment sodium_memzero
Output for 8.0.13
preg_match preg_match_all preg_replace preg_filter preg_replace_callback preg_replace_callback_array mb_parse_str mb_convert_variables mb_ereg mb_eregi array_push krsort ksort natsort natcasesort asort arsort sort rsort usort uasort uksort end prev next reset array_walk array_walk_recursive extract shuffle array_pop array_shift array_unshift array_splice array_multisort getopt dns_get_record dns_get_mx getmxrr headers_sent similar_text str_replace str_ireplace parse_str sscanf exec system passthru flock fscanf fsockopen pfsockopen getimagesize getimagesizefromstring proc_open stream_select stream_socket_client stream_socket_server stream_socket_accept stream_socket_recvfrom settype is_callable xml_parse_into_struct sodium_crypto_generichash_update sodium_crypto_generichash_final sodium_add sodium_increment sodium_memzero
Output for 8.0.0
preg_match preg_match_all preg_replace preg_filter preg_replace_callback preg_replace_callback_array mb_parse_str mb_convert_variables mb_ereg mb_eregi array_push krsort ksort natsort natcasesort asort arsort sort rsort usort uasort uksort end prev next reset array_walk array_walk_recursive extract shuffle array_pop array_shift array_unshift array_splice array_multisort getopt dns_get_record dns_get_mx getmxrr headers_sent similar_text str_replace str_ireplace parse_str sscanf exec system passthru flock fscanf fsockopen pfsockopen getimagesize getimagesizefromstring stream_select stream_socket_client stream_socket_server stream_socket_accept stream_socket_recvfrom settype is_callable xml_parse_into_struct collator_sort collator_sort_with_sort_keys collator_asort datefmt_parse datefmt_localtime numfmt_parse numfmt_parse_currency grapheme_extract idn_to_ascii idn_to_utf8 intltz_get_canonical_id intltz_get_offset
Output for 7.4.33
each preg_match preg_match_all preg_replace preg_replace_callback preg_replace_callback_array preg_filter mb_parse_str mb_convert_variables mb_ereg mb_eregi mbereg mberegi getimagesize getimagesizefromstring str_replace str_ireplace similar_text parse_str sscanf fscanf exec system passthru proc_open getopt headers_sent dns_get_mx getmxrr dns_get_record settype is_callable stream_select stream_socket_client stream_socket_server stream_socket_accept stream_socket_recvfrom flock fsockopen pfsockopen ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk array_walk_recursive end prev next reset extract array_multisort array_push array_pop array_shift array_unshift array_splice xml_parse_into_struct
Output for 7.2.0 - 7.2.33, 7.3.0 - 7.3.31, 7.4.0 - 7.4.32
each preg_match preg_match_all preg_replace preg_replace_callback preg_replace_callback_array preg_filter mb_parse_str mb_convert_variables mb_ereg mb_eregi mbereg mberegi getimagesize getimagesizefromstring str_replace str_ireplace similar_text parse_str sscanf fscanf exec system passthru getopt headers_sent dns_get_mx getmxrr dns_get_record settype is_callable stream_select stream_socket_client stream_socket_server stream_socket_accept stream_socket_recvfrom flock fsockopen pfsockopen ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk array_walk_recursive end prev next reset extract array_multisort array_push array_pop array_shift array_unshift array_splice xml_parse_into_struct collator_sort collator_sort_with_sort_keys collator_asort numfmt_parse numfmt_parse_currency datefmt_parse datefmt_localtime grapheme_extract idn_to_ascii idn_to_utf8 intltz_get_canonical_id intltz_get_offset sodium_crypto_generichash_update sodium_crypto_generichash_final sodium_add sodium_increment sodium_memzero
Output for 7.3.32 - 7.3.33
each preg_match preg_match_all preg_replace preg_replace_callback preg_replace_callback_array preg_filter mb_parse_str mb_convert_variables mb_ereg mb_eregi mbereg mberegi getimagesize getimagesizefromstring str_replace str_ireplace similar_text parse_str sscanf fscanf exec system passthru proc_open getopt headers_sent dns_get_mx getmxrr dns_get_record settype is_callable stream_select stream_socket_client stream_socket_server stream_socket_accept stream_socket_recvfrom flock fsockopen pfsockopen ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk array_walk_recursive end prev next reset extract array_multisort array_push array_pop array_shift array_unshift array_splice xml_parse_into_struct sodium_crypto_generichash_update sodium_crypto_generichash_final sodium_add sodium_increment sodium_memzero
Output for 7.1.0 - 7.1.25
each preg_match preg_match_all preg_replace preg_replace_callback preg_replace_callback_array preg_filter mb_parse_str mb_convert_variables mb_ereg mb_eregi mbereg mberegi getimagesize getimagesizefromstring str_replace str_ireplace similar_text parse_str sscanf fscanf exec system passthru getopt headers_sent dns_get_mx getmxrr dns_get_record settype is_callable stream_select stream_socket_client stream_socket_server stream_socket_accept stream_socket_recvfrom flock fsockopen pfsockopen ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk array_walk_recursive end prev next reset extract array_multisort array_push array_pop array_shift array_unshift array_splice xml_parse_into_struct collator_sort collator_sort_with_sort_keys collator_asort numfmt_parse numfmt_parse_currency datefmt_parse datefmt_localtime grapheme_extract idn_to_ascii idn_to_utf8 intltz_get_canonical_id intltz_get_offset
Output for 5.6.38
each ereg eregi preg_match preg_match_all preg_replace preg_replace_callback preg_filter mb_parse_str mb_convert_variables mb_ereg mb_eregi mbereg mberegi getimagesize getimagesizefromstring
Process exited with code 139.

preferences:
188.15 ms | 401 KiB | 178 Q