3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo extends Error {} class Bar implements Throwable {}

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.0110.00416.63
8.3.50.0120.01022.05
8.3.40.0060.01218.71
8.3.30.0110.00418.65
8.3.20.0040.00420.21
8.3.10.0020.00523.53
8.3.00.0000.00823.66
8.2.180.0110.01118.38
8.2.170.0130.00722.96
8.2.160.0000.01320.44
8.2.150.0080.00024.18
8.2.140.0060.00324.66
8.2.130.0040.00419.64
8.2.120.0040.00426.35
8.2.110.0040.00422.21
8.2.100.0040.00817.80
8.2.90.0000.00819.07
8.2.80.0040.00417.97
8.2.70.0060.00317.63
8.2.60.0040.00417.80
8.2.50.0080.00018.07
8.2.40.0040.00422.37
8.2.30.0050.00220.61
8.2.20.0070.00017.68
8.2.10.0040.00418.00
8.2.00.0030.00517.98
8.1.280.0070.01325.92
8.1.270.0040.00422.18
8.1.260.0040.00428.09
8.1.250.0000.00728.09
8.1.240.0030.00623.79
8.1.230.0080.00418.96
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0030.00617.23
8.1.190.0000.00817.00
8.1.180.0060.00318.10
8.1.170.0050.00318.55
8.1.160.0030.00420.61
8.1.150.0040.00418.81
8.1.140.0030.00719.54
8.1.130.0030.00317.50
8.1.120.0040.00417.41
8.1.110.0040.00417.35
8.1.100.0080.00017.42
8.1.90.0000.00717.29
8.1.80.0060.00317.41
8.1.70.0030.00317.27
8.1.60.0040.00417.52
8.1.50.0060.00317.38
8.1.40.0040.00417.48
8.1.30.0000.00817.48
8.1.20.0040.00417.55
8.1.10.0070.00017.25
8.1.00.0040.00417.20
8.0.300.0040.00418.77
8.0.290.0000.00716.58
8.0.280.0000.00718.23
8.0.270.0050.00217.21
8.0.260.0000.00617.16
8.0.250.0070.00016.99
8.0.240.0000.00716.79
8.0.230.0040.00416.81
8.0.220.0030.00316.92
8.0.210.0030.00316.88
8.0.200.0050.00216.79
8.0.190.0000.00916.83
8.0.180.0000.00716.91
8.0.170.0000.00716.89
8.0.160.0000.00716.93
8.0.150.0050.00216.71
8.0.140.0070.00016.78
8.0.130.0040.00413.25
8.0.120.0060.00316.79
8.0.110.0030.00616.87
8.0.100.0040.00416.75
8.0.90.0000.00816.75
8.0.80.0130.01316.83
8.0.70.0000.00716.75
8.0.60.0000.00716.70
8.0.50.0040.00416.94
8.0.30.0100.00916.96
8.0.20.0070.01117.40
8.0.10.0030.00516.88
8.0.00.0060.01516.65
7.4.330.0000.00416.70
7.4.320.0060.00016.50
7.4.300.0030.00316.56
7.4.290.0030.00316.56
7.4.280.0080.00316.42
7.4.270.0040.00416.44
7.4.260.0000.00616.39
7.4.250.0000.00816.47
7.4.240.0040.00316.45
7.4.230.0030.00316.56
7.4.220.0130.01016.63
7.4.210.0050.00916.45
7.4.200.0030.00316.47
7.4.160.0000.01516.26
7.4.150.0030.01417.40
7.4.140.0100.01017.86
7.4.130.0100.01016.33
7.4.120.0120.00516.42
7.4.110.0070.01116.32
7.4.100.0110.00616.55
7.4.90.0090.00916.57
7.4.80.0030.01319.39
7.4.70.0100.00716.61
7.4.60.0090.00616.53
7.4.50.0030.00816.33
7.4.40.0080.00816.38
7.4.30.0030.01316.21
7.4.00.0030.01015.10
7.3.330.0020.00213.00
7.3.320.0000.00513.09
7.3.310.0030.00316.12
7.3.300.0070.00016.11
7.3.290.0050.00216.24
7.3.280.0130.00516.24
7.3.270.0200.02117.40
7.3.260.0100.00716.29
7.3.250.0070.01016.29
7.3.240.0090.01116.42
7.3.230.0130.01016.39
7.3.210.0090.00616.33
7.3.200.0100.01019.39
7.3.190.0070.01416.48
7.3.180.0090.00616.28
7.3.170.0130.00316.29
7.3.160.0110.01116.34
7.3.10.0070.00716.55
7.3.00.0030.00616.53
7.2.330.0100.01016.54
7.2.320.0100.00716.52
7.2.310.0090.00616.39
7.2.300.0130.01016.53
7.2.290.0070.01016.61
7.2.130.0000.01116.66
7.2.120.0110.00416.63
7.2.110.0140.01016.47
7.2.100.0000.01316.40
7.2.90.0000.01316.35
7.2.80.0040.01116.72
7.2.70.0070.00716.90
7.2.60.0050.00716.60
7.2.50.0080.00416.67
7.2.40.0040.00916.66
7.2.30.0080.00316.90
7.2.20.0060.00616.75
7.2.10.0080.00616.43
7.2.00.0050.00817.92
7.1.250.0000.01115.67
7.1.200.0070.00415.46
7.1.100.0000.01617.79
7.1.70.0000.00817.18
7.1.60.0070.01419.06
7.1.50.0150.00734.74
7.1.00.0030.07722.51
7.0.200.0060.00914.59
7.0.60.0030.04021.76
7.0.50.0070.07717.89
7.0.40.0100.08020.25
7.0.30.0370.07320.20
7.0.20.0270.04020.21
7.0.10.0030.04320.10
7.0.00.0070.03720.23
5.6.280.0030.05020.89
5.6.210.0070.04720.62
5.6.200.0130.08318.19
5.6.190.0100.05720.57
5.6.180.0400.07320.48
5.6.170.0430.07320.71
5.6.160.0070.08320.55
5.6.150.0100.06018.14
5.6.140.0030.05318.25
5.6.130.0100.07718.28
5.6.120.0100.08721.03
5.6.110.0130.08021.01
5.6.100.0070.05321.10
5.6.90.0130.07720.98
5.6.80.0100.08020.41
5.5.350.0070.07720.46
5.5.340.0130.07717.98
5.5.330.0200.07320.42
5.5.320.0670.06320.38
5.5.310.0100.05020.50
5.5.300.0030.08317.91
5.5.290.0070.08317.95
5.5.280.0030.04320.86
5.5.270.0100.06720.75
5.5.260.0000.04320.86
5.5.250.0070.05720.61
5.5.240.0100.08320.23

preferences:
57.47 ms | 401 KiB | 5 Q