3v4l.org

run code in 300+ PHP versions simultaneously
<?php $internal_functions = get_defined_functions()['internal']; $lengths = array_map( function ($name) { return strlen($name); }, $internal_functions ); $length_variance = array_count_values($lengths); ksort($length_variance); echo 'Total Function Count: '. count($length_variance) . PHP_EOL . PHP_EOL; echo "Name Length\tCount" . PHP_EOL . PHP_EOL; foreach ($length_variance as $length => $count) { echo $length ."\t\t". $count; echo PHP_EOL; }
Output for git.master, git.master_jit
Total Function Count: 36 Name Length Count 2 2 3 16 4 31 5 55 6 68 7 73 8 47 9 72 10 65 11 78 12 70 13 74 14 52 15 48 16 43 17 42 18 44 19 35 20 43 21 56 22 25 23 38 24 19 25 27 26 19 27 15 28 9 29 8 30 2 32 6 33 3 34 1 35 1 36 4 37 4 38 4
Output for rfc.property-hooks
Total Function Count: 36 Name Length Count 2 2 3 16 4 31 5 55 6 68 7 73 8 47 9 72 10 65 11 78 12 70 13 76 14 52 15 48 16 43 17 42 18 44 19 35 20 43 21 56 22 25 23 38 24 19 25 27 26 19 27 15 28 9 29 8 30 2 32 6 33 3 34 1 35 1 36 4 37 4 38 4

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:
42.76 ms | 401 KiB | 8 Q