3v4l.org

run code in 300+ PHP versions simultaneously
<?php array_reduce(['a'], function () { throw new \Exception(); });

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.0080.00616.61
8.3.60.0030.01216.50
8.3.50.0100.01222.06
8.3.40.0090.00618.80
8.3.30.0150.00018.67
8.3.20.0040.00420.21
8.3.10.0050.00321.90
8.3.00.0040.00419.66
8.2.180.0160.00018.47
8.2.170.0140.00322.96
8.2.160.0110.00421.03
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0080.00022.31
8.2.120.0000.00726.35
8.2.110.0030.00721.04
8.2.100.0080.00318.09
8.2.90.0080.00019.09
8.2.80.0060.00317.97
8.2.70.0090.00017.75
8.2.60.0030.00518.04
8.2.50.0030.00618.10
8.2.40.0080.00022.25
8.2.30.0040.00420.96
8.2.20.0050.00317.81
8.2.10.0040.00417.93
8.2.00.0000.00718.05
8.1.280.0030.01425.92
8.1.270.0050.00323.99
8.1.260.0000.00828.09
8.1.250.0000.00828.09
8.1.240.0030.00623.88
8.1.230.0080.00419.48
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0000.01017.23
8.1.190.0000.00817.23
8.1.180.0000.00818.10
8.1.170.0000.00918.71
8.1.160.0030.00322.20
8.1.150.0000.00720.55
8.1.140.0050.00219.56
8.1.130.0000.00717.56
8.1.120.0000.00717.46
8.1.110.0030.00517.29
8.1.100.0070.00317.41
8.1.90.0050.00317.29
8.1.80.0050.00317.41
8.1.70.0040.00417.41
8.1.60.0000.00717.40
8.1.50.0030.00517.39
8.1.40.0080.00317.47
8.1.30.0030.00517.60
8.1.20.0050.00217.55
8.1.10.0020.00517.50
8.1.00.0100.00017.46
8.0.300.0000.00718.77
8.0.290.0070.00016.75
8.0.280.0030.00518.23
8.0.270.0040.00417.15
8.0.260.0000.00617.11
8.0.250.0000.00616.95
8.0.240.0040.00416.91
8.0.230.0070.00416.96
8.0.220.0000.00716.94
8.0.210.0050.00316.90
8.0.200.0030.00316.89
8.0.190.0070.00017.00
8.0.180.0000.00816.85
8.0.170.0050.00316.88
8.0.160.0000.00816.90
8.0.150.0040.00416.92
8.0.140.0000.00816.90
8.0.130.0050.00013.36
8.0.120.0000.00916.86
8.0.110.0050.00316.98
8.0.100.0040.00416.88
8.0.90.0000.00716.95
8.0.80.0030.01316.96
8.0.70.0000.00716.85
8.0.60.0040.00416.72
8.0.50.0000.00716.89
8.0.30.0080.01317.00
8.0.20.0080.01017.40
8.0.10.0070.00016.89
8.0.00.0150.00316.72
7.4.330.0020.00215.08
7.4.320.0070.00016.57
7.4.300.0030.00316.52
7.4.290.0000.00716.41
7.4.280.0040.00416.40
7.4.270.0000.00716.57
7.4.260.0030.00316.41
7.4.250.0070.00016.32
7.4.240.0030.00316.38
7.4.230.0040.00416.55
7.4.220.0080.00816.45
7.4.210.0080.00616.50
7.4.200.0060.00016.32
7.4.160.0050.01116.37
7.4.150.0070.01117.40
7.4.140.0050.01317.86
7.4.130.0120.00516.54
7.4.120.0120.00516.42
7.4.110.0030.01416.28
7.4.100.0080.00816.48
7.4.90.0120.00516.39
7.4.80.0060.01219.39
7.4.70.0090.00816.71
7.4.60.0030.01416.36
7.4.50.0060.00616.40
7.4.40.0100.00516.64
7.4.30.0170.00416.67
7.4.00.0100.00315.09
7.3.330.0000.00713.12
7.3.320.0030.00313.36
7.3.310.0040.00416.14
7.3.300.0040.00416.33
7.3.290.0040.01216.26
7.3.280.0080.00916.29
7.3.270.0070.00917.40
7.3.260.0100.01016.47
7.3.250.0140.00316.42
7.3.240.0080.00916.41
7.3.230.0130.00416.54
7.3.210.0060.01116.43
7.3.200.0030.01216.40
7.3.190.0090.00616.37
7.3.180.0070.01716.48
7.3.170.0120.00416.59
7.3.160.0150.00316.51
7.2.330.0060.01316.74
7.2.320.0060.01016.71
7.2.310.0000.01616.32
7.2.300.0100.00716.60
7.2.290.0120.00916.34
7.2.60.0060.00316.68
7.2.00.0080.01219.44
7.1.200.0120.00015.77
7.1.100.0030.00617.79
7.1.70.0050.00216.80
7.1.60.0120.00319.75
7.1.50.0060.00916.87
7.1.00.0070.07322.33
7.0.200.0030.00316.60
7.0.90.1300.06319.86
7.0.80.1330.06720.00
7.0.70.0270.06719.90
7.0.60.0370.04720.01
7.0.50.1730.05720.29
7.0.40.1830.06720.25
7.0.30.1630.07320.34
7.0.20.1230.08720.18
7.0.10.0570.08020.38
7.0.00.2600.07720.34
5.6.240.0200.07020.74
5.6.230.0230.07320.74
5.6.220.0330.06720.66
5.6.210.0300.05020.82
5.6.200.0270.07021.07
5.6.190.0200.06320.96
5.6.180.0500.07321.07
5.6.170.0170.08021.02
5.6.160.0170.07721.07
5.6.150.0200.05721.11
5.6.140.0200.06721.19
5.6.130.0170.06721.07
5.6.120.0130.07721.07
5.6.110.0200.06321.16
5.6.100.0130.06721.09
5.6.90.0270.05321.17
5.6.80.0170.05320.48
5.6.70.0170.05720.54
5.6.60.0130.05320.45
5.6.50.0130.05320.49
5.6.40.0130.05320.45
5.6.30.0200.04720.38
5.6.20.0100.05720.37
5.6.10.0200.06320.48
5.6.00.0200.05320.54

preferences:
70.77 ms | 401 KiB | 5 Q