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 git.master, git.master_jit, rfc.property-hooks
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

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
31.41 ms | 403 KiB | 8 Q