3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo extends \Throwable {} class Bar implements Foo { } throw new Bar();

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.0060.01016.61
8.3.50.0090.00821.07
8.3.40.0110.00418.66
8.3.30.0110.00418.42
8.3.20.0080.00020.09
8.3.10.0050.00323.65
8.3.00.0040.00417.68
8.2.180.0070.01418.54
8.2.170.0100.00722.96
8.2.160.0140.00020.51
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0080.00017.75
8.2.110.0060.00321.04
8.2.100.0070.00417.84
8.2.90.0090.00019.11
8.2.80.0040.00417.97
8.2.70.0030.00617.75
8.2.60.0030.00617.91
8.2.50.0050.00318.10
8.2.40.0000.00820.63
8.2.30.0070.00020.49
8.2.20.0090.00017.66
8.2.10.0040.00417.86
8.2.00.0080.00018.08
8.1.280.0170.00425.92
8.1.270.0040.00423.82
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0060.00322.14
8.1.230.0110.00017.58
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00617.23
8.1.190.0080.00017.23
8.1.180.0040.00418.10
8.1.170.0000.00718.50
8.1.160.0000.00722.13
8.1.150.0070.00018.73
8.1.140.0040.00419.65
8.1.130.0030.00317.53
8.1.120.0000.00717.26
8.1.110.0030.00617.30
8.1.100.0040.00417.31
8.1.90.0040.00417.30
8.1.80.0040.00417.25
8.1.70.0000.00717.28
8.1.60.0000.00717.57
8.1.50.0050.00317.31
8.1.40.0030.00617.47
8.1.30.0030.00617.60
8.1.20.0000.00817.55
8.1.10.0040.00417.42
8.1.00.0020.00517.27
8.0.300.0050.00518.77
8.0.290.0040.00416.63
8.0.280.0070.00018.37
8.0.270.0030.00317.09
8.0.260.0060.00017.17
8.0.250.0000.00816.84
8.0.240.0030.00316.91
8.0.230.0070.00016.84
8.0.220.0070.00016.89
8.0.210.0000.00716.84
8.0.200.0000.00716.87
8.0.190.0080.00016.83
8.0.180.0000.00716.93
8.0.170.0040.00416.91
8.0.160.0000.00716.78
8.0.150.0070.00016.92
8.0.140.0040.00416.73
8.0.130.0030.00313.30
8.0.120.0080.00016.73
8.0.110.0050.00316.79
8.0.100.0040.00416.82
8.0.90.0050.00316.88
8.0.80.0150.00616.85
8.0.70.0000.00816.82
8.0.60.0040.00416.91
8.0.50.0000.00716.74
8.0.30.0090.00716.87
8.0.20.0110.00817.40
8.0.10.0040.00417.03
8.0.00.0090.01016.83
7.4.330.0000.00515.08
7.4.320.0070.00016.52
7.4.300.0060.00016.52
7.4.290.0000.00616.39
7.4.280.0040.00416.51
7.4.270.0060.00016.43
7.4.260.0000.00816.36
7.4.250.0070.00016.44
7.4.240.0020.00516.49
7.4.230.0070.00016.41
7.4.220.0160.00316.37
7.4.210.0030.01116.43
7.4.200.0000.00716.48
7.4.160.0070.01016.19
7.4.150.0030.01417.40
7.4.140.0080.01117.86
7.4.130.0090.01016.49
7.4.120.0130.00516.44
7.4.110.0100.01016.53
7.4.100.0090.00916.42
7.4.90.0070.01016.46
7.4.80.0090.00819.39
7.4.70.0120.00616.58
7.4.60.0030.01316.46
7.4.50.0000.00416.15
7.4.40.0130.00716.44
7.4.30.0120.01116.32
7.4.00.0030.01014.89
7.3.330.0020.00213.22
7.3.320.0030.00313.05
7.3.310.0000.00816.18
7.3.300.0030.00316.28
7.3.290.0120.00616.17
7.3.280.0080.01116.21
7.3.270.0040.01317.40
7.3.260.0100.01016.36
7.3.250.0070.01116.36
7.3.240.0070.01116.24
7.3.230.0120.00616.39
7.3.210.0100.00716.41
7.3.200.0030.01316.36
7.3.190.0120.00416.47
7.3.180.0060.01016.54
7.3.170.0090.01316.37
7.3.160.0120.00916.35
7.3.120.0040.01414.75
7.3.110.0070.00714.94
7.3.100.0000.01014.88
7.3.90.0040.00814.66
7.3.80.0050.00614.77
7.3.70.0060.00314.60
7.3.60.0160.00014.83
7.3.50.0070.01014.53
7.3.40.0100.00314.77
7.3.30.0110.00314.76
7.3.20.0040.01416.41
7.3.10.0090.00516.56
7.3.00.0070.00716.43
7.2.330.0120.00616.39
7.2.320.0060.01216.59
7.2.310.0090.00916.59
7.2.300.0120.00616.55
7.2.290.0120.00916.27
7.2.250.0120.00414.84
7.2.240.0100.01014.80
7.2.230.0100.00615.03
7.2.220.0070.00714.68
7.2.210.0040.00914.57
7.2.200.0030.01015.00
7.2.190.0060.00614.69
7.2.180.0140.00315.04
7.2.170.0000.01415.03
7.2.130.0070.00716.73
7.2.120.0030.01016.68
7.2.110.0070.00716.81
7.2.100.0090.00316.88
7.2.90.0060.00916.95
7.2.80.0040.00716.80
7.2.70.0100.00416.73
7.2.60.0100.00516.69
7.2.50.0040.00816.91
7.2.40.0000.01416.94
7.2.30.0070.01016.68
7.2.20.0070.01016.70
7.2.10.0000.01316.77
7.2.00.0100.00517.94
7.1.330.0000.01115.71
7.1.320.0060.00815.56
7.1.310.0080.00815.62
7.1.300.0030.00715.72
7.1.290.0060.00615.71
7.1.280.0060.00915.64
7.1.270.0040.00815.64
7.1.260.0090.00315.70
7.1.250.0030.01215.64
7.1.200.0030.01015.71
7.1.100.0030.00918.19
7.1.70.0030.00616.82
7.1.60.0030.02219.50
7.1.50.0150.00616.85
7.1.00.0100.07022.25
7.0.200.0070.00714.47
7.0.60.0100.03319.85
7.0.50.0130.07017.88
7.0.40.0070.08320.30
7.0.30.0370.08320.21
7.0.20.0270.05720.07
7.0.10.0070.06720.01
7.0.00.0030.04720.16
5.6.280.0000.03721.10
5.6.210.0030.04020.47
5.6.200.0100.03718.29
5.6.190.0130.07320.50
5.6.180.0000.05020.35
5.6.170.0170.05720.40
5.6.160.0030.04320.46
5.6.150.0030.08318.18
5.6.140.0130.05718.21
5.6.130.0030.07018.11
5.6.120.0200.07321.04
5.6.110.0070.06321.01
5.6.100.0130.07320.98
5.6.90.0200.06321.12
5.6.80.0000.04320.51
5.5.350.0000.08720.30
5.5.340.0070.04018.09
5.5.330.0070.05320.28
5.5.320.0170.04020.27
5.5.310.0270.08020.24
5.5.300.0030.07017.93
5.5.290.0100.03318.01
5.5.280.0070.05020.77
5.5.270.0070.08320.87
5.5.260.0030.04720.72
5.5.250.0130.07020.54
5.5.240.0300.07020.26
5.4.450.0700.06319.49
5.4.440.0830.05719.16
5.4.430.0900.05719.30
5.4.420.0800.05319.58
5.4.410.0800.05019.35
5.4.400.0700.06019.27
5.4.390.0730.05719.26
5.4.380.1130.04319.25
5.4.370.0730.05318.84
5.4.360.0800.05319.29
5.4.350.0770.06719.23
5.4.340.0770.05719.27
5.4.320.0770.05719.14
5.4.310.0970.03719.13
5.4.300.0870.04719.28
5.4.290.0830.06019.15
5.4.280.0800.05019.37
5.4.270.0870.05718.84
5.4.260.1070.05319.23
5.4.250.0670.06319.05
5.4.240.0830.04318.86
5.4.230.0800.05019.25
5.4.220.0800.05319.23
5.4.210.0800.05719.12
5.4.200.0770.06319.28
5.4.190.0900.05719.36
5.4.180.0830.06318.82
5.4.170.1100.05719.29
5.4.160.0730.07719.13
5.4.150.0770.05319.10
5.4.140.0800.04716.59
5.4.130.0900.07016.31
5.4.120.0930.06716.31
5.4.110.1070.05716.51
5.4.100.0970.05716.60
5.4.90.0770.05016.19
5.4.80.0730.04716.24
5.4.70.0000.03316.18
5.4.60.0070.06716.54
5.4.50.0000.05016.25
5.4.40.0270.07316.24
5.4.30.0300.04316.42
5.4.20.0100.04016.48

preferences:
49.6 ms | 401 KiB | 5 Q