3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface BaseInterface { public function testMethod(); } interface TestInterface extends BaseInterface { } interface TestInterface2 extends BaseInterface { } abstract class Base implements TestInterface {} class TestClass extends Base implements TestInterface2 { 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.0070.00716.61
8.3.50.0150.00316.24
8.3.40.0040.01118.73
8.3.30.0120.00318.59
8.3.20.0000.00720.21
8.3.10.0040.00421.87
8.3.00.0000.00821.85
8.2.180.0140.00016.63
8.2.170.0090.00622.96
8.2.160.0030.01020.47
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00420.63
8.2.120.0080.00026.35
8.2.110.0030.01319.37
8.2.100.0090.00317.80
8.2.90.0050.00319.23
8.2.80.0030.00617.97
8.2.70.0030.00617.63
8.2.60.0070.00017.80
8.2.50.0080.00018.09
8.2.40.0030.00620.55
8.2.30.0000.00719.46
8.2.20.0020.00517.63
8.2.10.0000.00718.05
8.2.00.0030.00317.93
8.1.280.0070.00725.92
8.1.270.0100.00722.10
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0030.00622.36
8.1.230.0080.00317.64
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0040.00817.22
8.1.190.0000.00817.11
8.1.180.0000.00718.10
8.1.170.0070.00018.34
8.1.160.0030.00520.70
8.1.150.0040.00419.00
8.1.140.0040.00419.50
8.1.130.0030.00317.68
8.1.120.0070.00017.43
8.1.110.0070.00017.37
8.1.100.0000.00817.38
8.1.90.0000.00817.38
8.1.80.0040.00417.41
8.1.70.0030.00517.36
8.1.60.0000.00817.41
8.1.50.0060.00317.43
8.1.40.0000.00817.52
8.1.30.0030.00617.57
8.1.20.0060.00317.43
8.1.10.0040.00417.40
8.1.00.0050.00217.29
8.0.300.0000.00818.77
8.0.290.0030.00616.75
8.0.280.0030.00318.43
8.0.270.0040.00417.20
8.0.260.0050.00317.20
8.0.250.0000.00716.89
8.0.240.0030.00316.90
8.0.230.0030.00316.76
8.0.220.0000.00816.72
8.0.210.0070.00016.86
8.0.200.0000.00616.93
8.0.190.0030.00316.93
8.0.180.0040.00416.91
8.0.170.0000.00816.85
8.0.160.0030.00316.87
8.0.150.0100.00016.73
8.0.140.0000.00716.78
8.0.130.0050.00013.18
8.0.120.0020.00516.69
8.0.110.0070.00016.86
8.0.100.0000.00716.72
8.0.90.0000.00816.80
8.0.80.0070.01516.84
8.0.70.0040.00416.66
8.0.60.0030.00516.70
8.0.50.0000.00716.87
8.0.30.0090.00816.73
8.0.20.0120.00917.40
8.0.10.0070.00016.96
8.0.00.0080.01016.77
7.4.330.0000.00516.78
7.4.320.0000.00716.50
7.4.300.0040.00416.43
7.4.290.0030.00316.34
7.4.280.0050.00316.33
7.4.270.0000.00616.43
7.4.260.0030.00616.56
7.4.250.0000.00716.42
7.4.240.0000.00716.52
7.4.230.0000.00716.43
7.4.220.0080.01116.31
7.4.210.0050.01016.56
7.4.200.0040.00416.54
7.4.150.0150.00317.40
7.4.140.0110.01017.86
7.4.130.0120.00816.40
7.4.120.0080.01016.47
7.4.110.0110.00716.50
7.4.100.0130.00716.44
7.4.90.0030.01316.35
7.4.80.0080.00819.39
7.4.70.0100.01016.60
7.4.60.0000.02216.42
7.4.50.0040.00816.43
7.4.40.0060.01016.29
7.4.30.0120.00916.38
7.4.00.0070.00715.05
7.3.330.0000.00613.12
7.3.320.0000.00613.24
7.3.310.0000.00716.29
7.3.300.0070.00016.25
7.3.290.0060.00016.20
7.3.280.0050.01216.25
7.3.270.0090.00817.40
7.3.260.0110.00716.49
7.3.250.0070.01016.43
7.3.240.0050.01216.37
7.3.230.0030.01316.39
7.3.210.0030.01216.23
7.3.200.0080.00819.39
7.3.190.0090.01216.43
7.3.180.0190.00316.48
7.3.170.0030.01316.43
7.3.160.0110.01416.49
7.2.330.0140.00316.46
7.2.320.0100.01416.53
7.2.310.0030.01216.54
7.2.300.0200.03116.55
7.2.290.0030.01316.39
7.2.80.0040.00816.55
7.2.60.0030.01316.89
7.2.00.0070.00719.28
7.1.200.0140.00415.74
7.1.100.0040.00917.63
7.1.70.0080.00017.05
7.1.60.0100.00319.40
7.1.50.0090.00316.82
7.1.00.0030.07722.28
7.0.200.0420.00014.45
7.0.60.0170.08021.84
7.0.50.0170.06017.88
7.0.40.0170.06720.11
7.0.30.0300.07020.24
7.0.20.0200.05020.10
7.0.10.0070.05020.24
7.0.00.0170.05020.14
5.6.280.0000.06021.05
5.6.210.0100.07720.77
5.6.200.0130.04018.22
5.6.190.0100.09020.68
5.6.180.0270.06720.52
5.6.170.0300.05320.56
5.6.160.0000.04720.46
5.6.150.0070.08018.14
5.6.140.0130.07718.17
5.6.130.0030.04018.11
5.6.120.0000.06720.99
5.6.110.0030.08721.08
5.6.100.0030.04320.99
5.6.90.0070.05021.08
5.6.80.0100.06320.44
5.5.350.0170.03720.43
5.5.340.0070.07717.95
5.5.330.0000.05320.28
5.5.320.0670.05720.42
5.5.310.0370.06320.42
5.5.300.0030.03717.96
5.5.290.0100.07717.98
5.5.280.0130.07720.81
5.5.270.0100.05320.84
5.5.260.0100.03320.69
5.5.250.0170.07020.56
5.5.240.4230.04020.17

preferences:
36.3 ms | 400 KiB | 5 Q