3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (!interface_exists('Throwable')) { interface Throwable{} } if (true) { class FooException extends Exception 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.0170.00318.31
8.3.50.0120.00618.19
8.3.40.0140.00018.79
8.3.30.0040.01118.48
8.3.20.0050.00321.86
8.3.10.0040.00423.62
8.3.00.0040.00421.73
8.2.180.0110.00716.37
8.2.170.0070.00722.96
8.2.160.0110.00322.25
8.2.150.0070.00024.18
8.2.140.0060.00324.66
8.2.130.0070.00020.47
8.2.120.0070.00026.35
8.2.110.0100.00021.18
8.2.100.0090.00317.78
8.2.90.0040.00418.80
8.2.80.0080.00017.97
8.2.70.0000.00817.50
8.2.60.0000.00817.80
8.2.50.0040.00418.10
8.2.40.0080.00020.59
8.2.30.0040.00419.18
8.2.20.0000.00918.03
8.2.10.0000.00717.91
8.2.00.0000.00717.84
8.1.280.0100.00725.92
8.1.270.0070.00022.18
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00324.02
8.1.230.0080.00317.70
8.1.220.0050.00317.74
8.1.210.0030.00518.77
8.1.200.0060.00317.23
8.1.190.0050.00317.23
8.1.180.0040.00418.10
8.1.170.0040.00418.44
8.1.160.0050.00218.77
8.1.150.0040.00418.88
8.1.140.0040.00419.07
8.1.130.0000.00717.69
8.1.120.0000.00717.44
8.1.110.0080.00017.34
8.1.100.0030.00517.21
8.1.90.0000.00817.38
8.1.80.0030.00517.38
8.1.70.0030.00317.38
8.1.60.0000.00917.41
8.1.50.0040.00417.34
8.1.40.0040.00417.50
8.1.30.0040.00417.51
8.1.20.0050.00317.51
8.1.10.0040.00417.39
8.1.00.0040.00417.22
8.0.300.0050.00318.77
8.0.290.0000.00716.75
8.0.280.0040.00418.37
8.0.270.0040.00417.23
8.0.260.0070.00017.24
8.0.250.0050.00216.96
8.0.240.0000.00716.93
8.0.230.0000.00716.81
8.0.220.0060.00016.89
8.0.210.0040.00416.90
8.0.200.0030.00316.93
8.0.190.0000.01116.91
8.0.180.0000.00716.80
8.0.170.0000.00816.93
8.0.160.0000.00716.84
8.0.150.0090.00016.79
8.0.140.0000.00716.92
8.0.130.0070.00013.27
8.0.120.0000.00916.76
8.0.110.0040.00416.86
8.0.100.0000.00716.79
8.0.90.0070.00016.90
8.0.80.0060.01616.88
8.0.70.0040.00416.86
8.0.60.0040.00416.66
8.0.50.0060.00316.91
8.0.30.0120.00616.96
8.0.20.0130.00917.40
8.0.10.0020.00516.90
8.0.00.0080.00916.66
7.4.330.0050.00015.55
7.4.320.0000.00716.45
7.4.300.0030.00316.43
7.4.290.0000.00716.52
7.4.280.0060.00316.31
7.4.270.0000.00716.44
7.4.260.0000.00716.39
7.4.250.0040.00416.31
7.4.240.0000.00716.52
7.4.230.0030.00316.39
7.4.220.0040.00416.62
7.4.210.0100.00716.55
7.4.200.0070.00016.55
7.4.160.0070.01016.36
7.4.150.0000.02117.40
7.4.140.0130.00617.86
7.4.130.0110.00716.29
7.4.120.0080.01116.45
7.4.110.0060.01116.43
7.4.100.0090.00616.55
7.4.90.0060.01216.38
7.4.80.0090.01519.39
7.4.70.0140.00716.31
7.4.60.0090.00616.46
7.4.50.0070.01016.20
7.4.40.0110.00616.39
7.4.30.0070.01016.64
7.4.00.0090.00714.88
7.3.330.0050.00013.34
7.3.320.0000.00613.15
7.3.310.0070.00016.13
7.3.300.0000.00716.23
7.3.290.0090.00916.31
7.3.280.0110.00516.35
7.3.270.0090.00917.40
7.3.260.0120.00516.24
7.3.250.0150.00516.33
7.3.240.0110.00816.30
7.3.230.0030.01316.21
7.3.210.0160.00416.20
7.3.200.0070.01116.56
7.3.190.0090.00616.57
7.3.180.0060.00916.49
7.3.170.0130.00316.39
7.3.160.0060.00916.50
7.3.120.0040.01514.70
7.3.110.0140.00314.91
7.3.100.0070.00714.52
7.3.90.0130.00014.50
7.3.80.0070.00414.68
7.3.70.0000.01214.82
7.3.60.0060.00914.30
7.3.50.0110.00314.70
7.3.40.0030.00914.80
7.3.30.0060.00314.70
7.3.20.0000.01616.42
7.3.10.0030.00916.62
7.3.00.0070.01016.53
7.2.330.0040.01516.55
7.2.320.0070.01316.55
7.2.310.0030.01416.61
7.2.300.0100.01016.58
7.2.290.0130.00416.30
7.2.250.0060.01014.72
7.2.240.0160.00314.82
7.2.230.0140.00314.95
7.2.220.0030.00914.74
7.2.210.0060.00615.00
7.2.200.0070.01014.98
7.2.190.0030.00914.78
7.2.180.0120.00014.77
7.2.170.0000.01614.85
7.2.60.0100.00316.84
7.2.00.0630.00717.88
7.1.330.0110.00315.75
7.1.320.0070.00715.56
7.1.310.0030.01015.48
7.1.300.0090.00615.86
7.1.290.0060.00815.68
7.1.280.0090.00615.32
7.1.270.0040.01215.87
7.1.260.0040.01115.51
7.1.200.0090.00615.75
7.1.120.0460.00916.37
7.1.110.0430.00615.75
7.1.100.0360.01315.70
7.1.90.0580.00715.86
7.1.80.0440.01116.24
7.1.70.0320.01615.22
7.1.60.0540.01333.03
7.1.50.0530.01232.79
7.1.40.0590.02132.43
7.1.30.0870.01332.38
7.1.20.0490.01232.54
7.1.10.0380.01114.49
7.1.00.0370.01214.69

preferences:
57.24 ms | 400 KiB | 5 Q