3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tests = [ "Bright vixens jump; dozy owl quack.", "zyra nymph, quid vex jock, fblg wt", "Amazingly few discotheques provide jukeboxes", "ANFZB ZIQBB SNYQ YWAHT", "pack my box with five dozen liquor jugs!!", "Mr Jock, TV quiz PhD, bags few lynx.", ]; $perfection = array_fill_keys(range(97, 122), 1); $non = $pan = $perf = 0; foreach ($tests as $test) { $counts = array_intersect_key( count_chars(strtolower($test), 1), $perfection ); // var_dump($perfection, '-', $counts, '==='); if ($perfection === $counts) { ++$perf; } elseif (count($counts) != 26) { ++$non; } else { ++$pan; } } var_dump($non, $pan, $perf);
Output for git.master, git.master_jit
int(3) int(2) int(1)

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:
32.5 ms | 405 KiB | 5 Q