3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [ ['thomas', 'gutbier'], ['mathhias', 'gutbier'], ['ursula', 'breidenstein'], ['salbert', 'friemel'] ]; foreach ($a as $person) { echo $person[0] . ' ' . $person[1] . "\n"; }

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.70.0110.00416.63
8.3.60.0070.00718.43
8.3.50.0110.00422.06
8.3.40.0120.00318.54
8.3.30.0090.00618.75
8.3.20.0070.00020.33
8.3.10.0080.00023.66
8.3.00.0000.00821.05
8.2.180.0070.01016.75
8.2.170.0120.00622.96
8.2.160.0130.00020.38
8.2.150.0000.00824.18
8.2.140.0000.00724.66
8.2.130.0090.00626.16
8.2.120.0070.00022.10
8.2.110.0030.00622.20
8.2.100.0040.00717.91
8.2.90.0000.00719.36
8.2.80.0040.00417.97
8.2.70.0040.00417.47
8.2.60.0080.00018.05
8.2.50.0000.00918.07
8.2.40.0060.00317.91
8.2.30.0000.00718.00
8.2.20.0000.00717.76
8.2.10.0060.00317.68
8.2.00.0040.00417.73
8.1.280.0070.00725.92
8.1.270.0030.00623.92
8.1.260.0000.00826.35
8.1.250.0000.00728.09
8.1.240.0040.00423.90
8.1.230.0090.00319.16
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0030.00617.35
8.1.190.0040.00417.53
8.1.180.0000.00818.10
8.1.170.0040.00418.51
8.1.160.0040.00422.03
8.1.150.0040.00418.58
8.1.140.0060.00317.45
8.1.130.0070.00017.83
8.1.120.0070.00017.37
8.1.110.0030.00517.34
8.1.100.0000.00717.34
8.1.90.0000.00717.38
8.1.80.0000.00817.37
8.1.70.0000.00717.29
8.1.60.0030.00617.46
8.1.50.0050.00217.40
8.1.40.0050.00217.34
8.1.30.0000.00717.53
8.1.20.0050.00217.57
8.1.10.0040.00417.57
8.1.00.0040.00417.57
8.0.300.0000.00718.77
8.0.290.0030.00617.16
8.0.280.0030.00318.43
8.0.270.0000.00717.26
8.0.260.0000.00616.81
8.0.250.0030.00316.99
8.0.240.0030.00617.01
8.0.230.0070.00016.89
8.0.220.0030.00316.92
8.0.210.0070.00016.88
8.0.200.0030.00316.95
8.0.190.0030.00516.94
8.0.180.0070.00016.83
8.0.170.0030.00316.81
8.0.160.0070.00016.91
8.0.150.0070.00016.80
8.0.140.0040.00416.85
8.0.130.0030.00513.32
8.0.120.0040.00416.85
8.0.110.0000.00716.93
8.0.100.0070.00016.66
8.0.90.0070.00016.75
8.0.80.0000.01516.89
8.0.70.0040.00416.82
8.0.60.0030.00516.71
8.0.50.0000.00716.82
8.0.30.0130.00717.20
8.0.20.0090.01317.42
8.0.10.0040.00417.00
8.0.00.0090.01116.55
7.4.330.0000.00515.14
7.4.320.0030.00316.47
7.4.300.0070.00016.59
7.4.290.0040.00416.60
7.4.280.0040.00416.52
7.4.270.0040.00416.62
7.4.260.0000.00816.34
7.4.250.0030.00316.61
7.4.240.0020.00516.53
7.4.230.0040.00416.38
7.4.220.0100.00716.60
7.4.210.0120.00616.50
7.4.200.0000.00716.38
7.4.190.0050.00216.63
7.4.160.0070.01316.52
7.4.150.0060.01217.40
7.4.140.0100.00717.86
7.4.130.0080.01016.53
7.4.120.0120.00716.47
7.4.110.0090.00916.50
7.4.100.0090.00916.45
7.4.90.0070.01016.65
7.4.80.0110.01119.39
7.4.70.0040.01316.45
7.4.60.0120.00616.54
7.4.50.0000.00416.53
7.4.40.0100.00022.77
7.4.30.0160.00016.41
7.4.00.0040.01215.12
7.3.330.0030.00313.06
7.3.320.0020.00213.01
7.3.310.0000.00616.40
7.3.300.0070.00016.27
7.3.290.0070.00716.29
7.3.280.0070.00916.23
7.3.270.0230.00017.40
7.3.260.0090.01016.34
7.3.250.0140.00416.33
7.3.240.0040.01316.34
7.3.230.0050.01116.63
7.3.210.0150.00316.49
7.3.200.0110.01119.39
7.3.190.0030.01316.48
7.3.180.0070.01016.56
7.3.170.0110.01116.49
7.3.160.0040.01116.46
7.3.120.0060.00615.09
7.2.330.0140.00416.70
7.2.320.0120.00616.45
7.2.310.0070.01816.64
7.2.300.0060.01616.86
7.2.290.0110.00716.72
7.2.00.0000.01419.45
7.1.100.0000.00818.06
7.1.70.0000.00716.86
7.1.60.0090.01619.29
7.1.50.0040.01916.95
7.1.00.0070.07022.41
7.0.200.0070.00016.66
7.0.140.0030.07322.12
7.0.100.0230.07320.17
7.0.90.0130.08319.90
7.0.80.0170.09019.92
7.0.70.0130.08019.89
7.0.60.0200.07319.98
7.0.50.0070.08020.30
7.0.40.0100.07020.14
7.0.30.0130.07320.09
7.0.20.0130.08319.99
7.0.10.0070.08020.07
7.0.00.0100.08720.14
5.6.280.0100.06720.92
5.6.250.0000.08320.54
5.6.240.0170.07020.52
5.6.230.0100.08320.66
5.6.220.0100.07720.55
5.6.210.0200.06320.52
5.6.200.0000.09721.02
5.6.190.0200.07021.08
5.6.180.0070.07721.07
5.6.170.0000.06721.07
5.6.160.0170.07020.93
5.6.150.0030.09021.02
5.6.140.0030.05020.99
5.6.130.0070.08321.00
5.6.120.0130.07321.17
5.6.110.0070.09021.07
5.6.100.0100.05321.06
5.6.90.0070.04020.91
5.6.80.0130.05720.56
5.6.70.0030.04020.39
5.6.60.0100.04320.42
5.6.50.0100.03320.39
5.6.40.0030.06020.45
5.6.30.0000.07320.44
5.6.20.0100.04720.46
5.6.10.0030.06720.36
5.6.00.0030.04020.42
5.5.380.0130.08020.46
5.5.370.0170.07320.43
5.5.360.0170.07320.34
5.5.350.0030.08320.42
5.5.340.0030.09020.78
5.5.330.0070.08020.92
5.5.320.0070.08020.76
5.5.310.0030.07320.79
5.5.300.0100.08020.88
5.5.290.0200.06720.83
5.5.280.0070.08720.72
5.5.270.0070.08720.92
5.5.260.0100.08020.91
5.5.250.0070.04020.68
5.5.240.0100.04020.16
5.5.230.0000.04320.18
5.5.220.0030.05720.26
5.5.210.0130.03020.11
5.5.200.0070.03720.13
5.5.190.0030.06720.09
5.5.180.0000.07020.15
5.5.160.0030.05020.15
5.5.150.0030.03720.21
5.5.140.0070.04720.23
5.5.130.0000.04720.26
5.5.120.0030.04320.27
5.5.110.0030.04020.20
5.5.100.0100.05720.02
5.5.90.0130.05720.09
5.5.80.0030.03720.00
5.5.70.0070.03320.15
5.5.60.0030.04019.96
5.5.50.0070.03720.16
5.5.40.0070.04020.08
5.5.30.0070.04320.05
5.5.20.0000.04020.05
5.5.10.0030.04020.08
5.5.00.0100.03320.11
5.4.450.0030.09019.28
5.4.440.0030.07719.46
5.4.430.0100.04319.39
5.4.420.0200.05019.36
5.4.410.0000.05019.34
5.4.400.0030.08319.15
5.4.390.0030.03718.90
5.4.380.0070.03319.23
5.4.370.0030.03719.10
5.4.360.0000.04018.81
5.4.350.0030.03718.96
5.4.340.0100.03019.05
5.4.320.0030.03719.10
5.4.310.0030.04018.79
5.4.300.0030.05718.96
5.4.290.0030.05318.81
5.4.280.0070.03318.96
5.4.270.0100.03318.81
5.4.260.0030.03719.07
5.4.250.0030.04019.09
5.4.240.0030.04019.22
5.4.230.0130.02719.14
5.4.220.0030.07319.07
5.4.210.0070.04019.03
5.4.200.0030.03718.98
5.4.190.0070.03319.09
5.4.180.0030.04719.10
5.4.170.0100.03019.02
5.4.160.0030.03719.01
5.4.150.0100.03318.95
5.4.140.0030.03716.30
5.4.130.0000.04016.26
5.4.120.0000.03716.27
5.4.110.0070.06316.34
5.4.100.0070.03016.41
5.4.90.0070.07316.31
5.4.80.0070.03016.35
5.4.70.0100.07016.37
5.4.60.0030.06316.47
5.4.50.0070.04316.21
5.4.40.0100.07016.39
5.4.30.0130.06016.31
5.4.20.0100.07016.20
5.4.10.0130.05316.39
5.4.00.0070.07715.86
5.3.290.0030.08014.64
5.3.280.0030.04314.44
5.3.270.0000.07014.62
5.3.260.0070.06014.55
5.3.250.0030.03314.55
5.3.240.0030.03714.52
5.3.230.0130.03314.44
5.3.220.0100.03014.53
5.3.210.0100.06314.43
5.3.200.0030.04014.52
5.3.190.0100.07314.54
5.3.180.0030.07314.42
5.3.170.0130.06714.57
5.3.160.0070.07714.45
5.3.150.0030.08014.55
5.3.140.0100.07314.54
5.3.130.0130.07714.55
5.3.120.0100.07014.55
5.3.110.0030.07714.41
5.3.100.0100.06013.86
5.3.90.0100.07013.88
5.3.80.0070.07314.01
5.3.70.0030.04313.96
5.3.60.0130.07013.98
5.3.50.0030.06713.91
5.3.40.0030.04313.72
5.3.30.0100.06713.87
5.3.20.0070.07013.68
5.3.10.0000.07313.66
5.3.00.0030.07313.63
5.2.170.0030.05311.15
5.2.160.0070.06011.21
5.2.150.0000.05011.14
5.2.140.0030.05011.06
5.2.130.0070.06011.09
5.2.120.0070.05710.95
5.2.110.0070.06010.96
5.2.100.0130.05711.05
5.2.90.0130.05011.10
5.2.80.0000.06711.01
5.2.70.0030.06710.93
5.2.60.0070.06010.89
5.2.50.0130.05011.08
5.2.40.0030.04310.94
5.2.30.0070.05310.81
5.2.20.0070.06010.85
5.2.10.0170.03710.72
5.2.00.0100.05310.63
5.1.60.0000.03310.24
5.1.50.0070.03310.24
5.1.40.0130.04310.24
5.1.30.0030.06010.24
5.1.20.0030.05710.38
5.1.10.0030.05710.24
5.1.00.0070.05310.24
5.0.50.0070.04310.24
5.0.40.0030.03310.24
5.0.30.0030.05710.24
5.0.20.0070.04310.24
5.0.10.0070.03710.24
5.0.00.0000.07010.24
4.4.90.0000.03310.24
4.4.80.0100.02710.24
4.4.70.0030.03710.24
4.4.60.0070.01310.24
4.4.50.0000.03710.24
4.4.40.0030.05010.24
4.4.30.0070.02710.24
4.4.20.0070.03310.24
4.4.10.0000.03710.24
4.4.00.0000.03710.24
4.3.110.0000.04010.24
4.3.100.0030.03310.24
4.3.90.0070.03010.24
4.3.80.0030.05310.24
4.3.70.0000.03010.24
4.3.60.0100.02710.24
4.3.50.0030.03010.24
4.3.40.0000.05710.24
4.3.30.0000.03710.24
4.3.20.0000.03710.24
4.3.10.0030.02310.24
4.3.00.0000.03710.24

preferences:
48.89 ms | 401 KiB | 5 Q