3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface BaseInterface { public function testMethod(); } interface TestInterface extends BaseInterface { } class TestClass implements BaseInterface, TestInterface { public function testMethod() { } }

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.0040.01116.38
8.3.50.0120.00321.25
8.3.40.0150.00018.77
8.3.30.0140.00018.42
8.3.20.0040.00420.22
8.3.10.0040.00421.78
8.3.00.0000.00721.60
8.2.180.0090.00918.24
8.2.170.0090.01222.96
8.2.160.0070.00720.57
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0050.00320.96
8.2.110.0110.00722.14
8.2.100.0040.00817.80
8.2.90.0040.00419.09
8.2.80.0050.00317.97
8.2.70.0060.00317.50
8.2.60.0000.01017.80
8.2.50.0040.00418.09
8.2.40.0000.00822.18
8.2.30.0050.00219.42
8.2.20.0040.00417.64
8.2.10.0000.00717.98
8.2.00.0040.00417.86
8.1.280.0070.01025.92
8.1.270.0070.01021.96
8.1.260.0030.00626.35
8.1.250.0070.00028.09
8.1.240.0040.00419.09
8.1.230.0080.00418.90
8.1.220.0070.00017.74
8.1.210.0000.00818.77
8.1.200.0080.00617.23
8.1.190.0040.00417.22
8.1.180.0040.00418.10
8.1.170.0040.00418.53
8.1.160.0040.00420.70
8.1.150.0000.00718.88
8.1.140.0050.00319.51
8.1.130.0030.00317.62
8.1.120.0000.00717.30
8.1.110.0070.00017.27
8.1.100.0030.00517.27
8.1.90.0000.00817.29
8.1.80.0070.00017.39
8.1.70.0030.00617.29
8.1.60.0040.00417.57
8.1.50.0060.00317.43
8.1.40.0000.00817.34
8.1.30.0000.00817.54
8.1.20.0030.00617.59
8.1.10.0040.00417.31
8.1.00.0040.00417.38
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0000.00718.38
8.0.270.0040.00417.29
8.0.260.0030.00317.08
8.0.250.0030.00316.91
8.0.240.0030.00316.87
8.0.230.0030.00316.86
8.0.220.0040.00416.71
8.0.210.0000.00716.84
8.0.200.0030.00316.80
8.0.190.0000.00716.75
8.0.180.0070.00016.78
8.0.170.0040.00416.75
8.0.160.0040.00416.84
8.0.150.0030.00516.83
8.0.140.0000.00716.74
8.0.130.0000.00513.22
8.0.120.0040.00416.78
8.0.110.0000.00716.80
8.0.100.0000.00716.93
8.0.90.0040.00416.68
8.0.80.0150.00716.77
8.0.70.0050.00216.86
8.0.60.0040.00416.67
8.0.50.0070.00016.80
8.0.30.0110.00817.04
8.0.20.0120.00817.40
8.0.10.0000.00716.80
8.0.00.0100.00716.72
7.4.330.0020.00216.77
7.4.320.0060.00016.39
7.4.300.0090.00016.34
7.4.290.0040.00416.50
7.4.280.0050.00316.40
7.4.270.0070.00016.41
7.4.260.0000.00716.30
7.4.250.0070.00016.39
7.4.240.0050.00216.43
7.4.230.0030.00316.52
7.4.220.0110.00716.34
7.4.210.0080.00816.55
7.4.200.0000.00716.56
7.4.150.0140.00317.40
7.4.140.0120.00917.86
7.4.130.0110.00616.32
7.4.120.0130.00416.38
7.4.110.0110.00816.61
7.4.100.0120.00616.37
7.4.90.0100.01416.28
7.4.80.0100.00719.39
7.4.70.0160.00316.41
7.4.60.0150.01316.52
7.4.50.0070.01316.23
7.4.40.0030.01316.45
7.4.30.0110.00716.11
7.4.00.0100.00414.73
7.3.330.0030.00313.03
7.3.320.0030.00313.18
7.3.310.0060.00016.21
7.3.300.0030.00316.05
7.3.290.0030.00316.14
7.3.280.0100.00816.17
7.3.270.0070.01017.40
7.3.260.0080.00816.09
7.3.250.0150.00616.31
7.3.240.0090.00716.36
7.3.230.0170.00016.41
7.3.210.0030.01316.33
7.3.200.0060.00919.39
7.3.190.0130.00316.48
7.3.180.0100.00616.50
7.3.170.0150.00416.27
7.3.160.0160.00616.15
7.3.120.0070.00715.03
7.3.110.0060.01314.75
7.3.100.0000.01914.70
7.3.90.0110.00414.48
7.3.80.0100.00314.72
7.3.70.0100.00314.87
7.3.60.0050.00514.74
7.3.50.0040.01514.86
7.3.40.0120.00314.81
7.3.30.0030.00714.48
7.3.20.0080.00616.29
7.3.10.0020.01316.63
7.3.00.0100.00316.50
7.2.330.0130.01016.45
7.2.320.0140.00916.51
7.2.310.0040.01116.47
7.2.300.0030.01616.46
7.2.290.0030.01316.34
7.2.250.0060.01515.04
7.2.240.0070.01014.66
7.2.230.0120.00615.13
7.2.220.0100.01014.95
7.2.210.0100.00714.96
7.2.200.0070.00414.60
7.2.190.0030.01514.80
7.2.180.0060.00314.81
7.2.170.0090.00614.81
7.2.130.0060.00616.68
7.2.120.0110.00416.85
7.2.110.0030.01016.68
7.2.100.0070.00716.61
7.2.90.0030.00916.80
7.2.80.0040.00716.43
7.2.70.0040.01116.71
7.2.60.0030.01016.50
7.2.50.0030.00716.76
7.2.40.0090.00916.80
7.2.30.0040.01116.65
7.2.20.0030.01417.00
7.2.10.0060.00616.64
7.2.00.0120.00617.87
7.1.330.0060.00915.52
7.1.320.0030.01015.62
7.1.310.0000.01415.73
7.1.300.0040.01215.73
7.1.290.0030.01015.59
7.1.280.0040.01015.67
7.1.270.0040.01115.48
7.1.260.0040.01115.85
7.1.250.0000.00815.71
7.1.200.0040.00815.43
7.1.100.0150.00617.88
7.1.70.0100.00316.91
7.1.60.0030.00719.40
7.1.50.0030.01316.90
7.1.00.0000.08022.36
7.0.200.0230.00414.80
7.0.60.0130.08321.71
7.0.50.0130.06017.80
7.0.40.0100.09020.01
7.0.30.0370.06320.16
7.0.20.0270.07320.06
7.0.10.0130.07320.12
7.0.00.0130.07320.24
5.6.280.0030.03721.12
5.6.210.0100.07320.50
5.6.200.0170.07318.18
5.6.190.0030.09320.50
5.6.180.0230.05320.47
5.6.170.0470.07320.43
5.6.160.0130.03020.44
5.6.150.0030.04318.19
5.6.140.0030.04718.11
5.6.130.0030.04018.18
5.6.120.0170.07021.09
5.6.110.0130.07020.98
5.6.100.0070.03720.97
5.6.90.0200.07320.98
5.6.80.0100.07720.29
5.5.350.0070.04320.41
5.5.340.0130.05017.95
5.5.330.0070.07320.29
5.5.320.0430.04720.35
5.5.310.0330.06320.24
5.5.300.0100.03318.08
5.5.290.0130.07317.98
5.5.280.0130.04720.88
5.5.270.0070.06720.86
5.5.260.0030.04020.93
5.5.250.0130.07720.47
5.5.240.4130.03020.15

preferences:
53.51 ms | 401 KiB | 5 Q