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);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.4.140.0150.00517.52
8.4.130.0400.00817.66
8.4.120.0370.01117.78
8.4.110.0410.00517.79
8.4.100.0300.00317.83
8.4.90.0400.00817.59
8.4.80.0280.00417.66
8.4.70.0280.00417.84
8.4.60.0470.00717.59
8.4.50.0340.00817.85
8.4.40.0390.00917.46
8.4.30.0370.01217.43
8.4.20.0450.00817.65
8.4.10.0470.00617.13
8.3.270.0110.00916.54
8.3.260.0420.00716.53
8.3.250.0370.00816.41
8.3.240.0300.01216.86
8.3.230.0200.00316.59
8.3.220.0390.00616.63
8.3.210.0370.00716.46
8.3.200.0390.01116.41
8.3.190.0370.01016.61
8.3.180.0380.00916.64
8.3.170.0250.00616.69
8.3.160.0450.01016.11
8.3.150.0260.00616.36
8.3.140.0440.00616.30
8.3.130.0340.00716.59
8.3.120.0250.00716.43
8.3.110.0250.00216.57
8.3.100.0190.00416.24
8.3.90.0180.00716.52
8.3.80.0180.00616.56
8.3.70.0350.00616.39
8.3.60.0490.00816.32
8.3.50.0410.00716.57
8.3.40.0400.00917.64
8.3.30.0320.00817.49
8.3.20.0310.00817.49
8.3.10.0320.00517.52
8.3.00.0130.00517.70
8.2.290.0190.00016.68
8.2.280.0180.00716.46
8.2.270.0280.00816.53
8.2.260.0360.00716.43
8.2.250.0300.00316.41
8.2.240.0270.00816.50
8.2.230.0290.00416.27
8.2.220.0270.00616.58
8.2.210.0130.00616.36
8.2.200.0210.00616.55
8.2.190.0250.00716.52
8.2.180.0280.00916.66
8.2.170.0390.01017.39
8.2.160.0270.00417.61
8.2.150.0150.00517.40
8.2.140.0250.00617.30
8.2.130.0370.00717.22
8.2.120.0350.01017.31
8.2.110.0310.00717.57
8.2.100.0360.00717.61
8.2.90.0420.00917.61
8.2.80.0260.00517.53
8.2.70.0410.00817.37
8.2.60.0430.00517.59
8.2.50.0420.00617.49
8.2.40.0330.01017.38
8.2.30.0330.00717.56
8.2.20.0330.00817.59
8.2.10.0290.01117.58
8.2.00.0270.00817.63

preferences:
46.99 ms | 403 KiB | 5 Q