3v4l.org

run code in 300+ PHP versions simultaneously
<?php function isPangram($string) { $string = preg_split('//u', $string); $range = range('a', 'z'); return count(array_intersect($range, $string)) === count($range); } echo isPangram('the quick brown fox jumps over the lazy dog');

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.3.60.0000.01818.45
8.3.50.0110.00718.24
8.3.40.0070.01318.93
8.3.30.0110.00318.89
8.3.20.0040.00421.77
8.3.10.0040.00423.40
8.3.00.0030.00523.61
8.2.180.0090.00916.75
8.2.170.0110.00419.04
8.2.160.0080.00822.96
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00321.12
8.2.120.0040.00426.35
8.2.110.0050.00519.14
8.2.100.0090.00318.02
8.2.90.0040.00418.16
8.2.80.0040.00419.78
8.2.70.0090.00018.03
8.2.60.0050.00317.80
8.2.50.0080.00018.10
8.2.40.0000.00919.23
8.2.30.0000.00819.31
8.2.20.0050.00218.05
8.2.10.0040.00418.09
8.2.00.0000.00818.14
8.1.280.0120.00325.92
8.1.270.0000.00823.83
8.1.260.0080.00026.35
8.1.250.0090.00028.09
8.1.240.0050.00323.77
8.1.230.0080.00420.90
8.1.220.0080.00017.74
8.1.210.0050.00319.07
8.1.200.0060.00317.35
8.1.190.0000.00817.48
8.1.180.0000.00818.10
8.1.170.0030.00618.77
8.1.160.0040.00418.86
8.1.150.0000.00720.86
8.1.140.0050.00317.64
8.1.130.0030.00318.97
8.1.120.0030.00617.68
8.1.110.0000.00817.64
8.1.100.0070.00417.63
8.1.90.0080.00017.64
8.1.80.0070.00017.64
8.1.70.0050.00217.68
8.1.60.0030.00617.77
8.1.50.0080.00017.57
8.1.40.0030.00517.57
8.1.30.0000.01117.85
8.1.20.0040.00417.72
8.1.10.0090.00017.73
8.1.00.0040.00417.48
8.0.300.0000.00719.94
8.0.290.0030.00516.88
8.0.280.0040.00418.39
8.0.270.0040.00417.17
8.0.260.0000.00617.31
8.0.250.0000.00717.06
8.0.240.0040.00417.04
8.0.230.0070.00017.10
8.0.220.0060.00316.95
8.0.210.0000.00717.02
8.0.200.0070.00017.00
8.0.190.0040.00417.16
8.0.180.0050.00317.10
8.0.170.0060.00317.14
8.0.160.0040.00417.10
8.0.150.0000.00817.11
8.0.140.0070.00017.04
8.0.130.0030.00313.50
8.0.120.0000.00717.12
8.0.110.0030.00617.07
8.0.100.0050.00217.14
8.0.90.0040.00417.06
8.0.80.0160.00617.11
8.0.70.0040.00417.13
8.0.60.0080.00016.90
8.0.50.0050.00317.07
8.0.30.0130.00517.30
8.0.20.0090.01017.40
8.0.10.0000.00717.24
8.0.00.0100.00816.89
7.4.330.0020.00215.55
7.4.320.0000.00616.88
7.4.300.0000.00616.84
7.4.290.0020.00516.80
7.4.280.0040.00416.71
7.4.270.0030.00316.88
7.4.260.0040.00416.62
7.4.250.0070.00016.80
7.4.240.0000.00716.75
7.4.230.0030.00316.89
7.4.220.0040.00416.83
7.4.210.0090.00616.79
7.4.200.0070.00016.80
7.4.160.0110.00916.76
7.4.140.0120.00917.86
7.4.130.0090.01016.73
7.4.120.0090.01016.78
7.4.110.0090.00916.71
7.4.100.0180.00616.71
7.4.90.0060.00916.66
7.4.80.0100.01319.39
7.4.70.0100.00616.64
7.4.60.0100.01016.80
7.4.50.0120.00316.77
7.4.40.0030.01316.93
7.4.00.0060.00915.09
7.3.330.0000.00513.52
7.3.320.0030.00313.57
7.3.310.0000.00716.40
7.3.300.0070.00016.54
7.3.290.0040.00416.47
7.3.280.0080.00716.52
7.3.260.0150.00416.60
7.3.240.0070.01216.65
7.3.230.0060.01216.60
7.3.210.0130.00316.76
7.3.200.0060.01116.76
7.3.190.0090.00816.77
7.3.180.0120.00316.55
7.3.170.0110.00716.55
7.3.160.0130.00916.44
7.2.330.0100.00716.79
7.2.320.0040.01316.88
7.2.310.0070.01016.79
7.2.300.0060.01216.58
7.2.290.0060.01316.66
7.2.60.0100.00716.91
7.2.50.0070.00616.94
7.2.40.2280.01118.21
7.2.30.1980.01118.18
7.2.20.2020.00818.21
7.2.10.0910.00918.09
7.2.00.2080.01118.10
7.1.200.0070.00315.92
7.1.160.1950.01016.98
7.1.150.2200.01017.11
7.1.140.1590.01117.20
7.1.130.1220.00916.97
7.1.120.1870.00917.05
7.1.110.0830.00816.55
7.1.100.2170.00916.37
7.1.90.2550.00716.40
7.1.80.2690.00716.41
7.1.70.2790.00815.59
7.1.60.2920.01433.47
7.1.50.3500.01233.21
7.1.40.3830.01132.83
7.1.30.2630.01432.96
7.1.20.2420.01332.94
7.1.10.2640.00915.00
7.1.00.2240.00914.97

preferences:
58.34 ms | 400 KiB | 5 Q