3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface BaseInterface { public function testMethod(); } interface TestInterface extends BaseInterface { } class TestClass implements TestInterface, BaseInterface { 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.01016.50
8.3.50.0110.00821.02
8.3.40.0110.00418.60
8.3.30.0070.00718.46
8.3.20.0040.00420.25
8.3.10.0040.00421.58
8.3.00.0080.00021.86
8.2.180.0070.01416.38
8.2.170.0070.00722.96
8.2.160.0030.01020.43
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00420.66
8.2.120.0040.00426.35
8.2.110.0070.00422.27
8.2.100.0090.00317.66
8.2.90.0040.00418.15
8.2.80.0030.00617.97
8.2.70.0040.00417.59
8.2.60.0030.00517.66
8.2.50.0050.00318.09
8.2.40.0080.00022.21
8.2.30.0040.00419.24
8.2.20.0050.00317.56
8.2.10.0040.00417.86
8.2.00.0080.00017.88
8.1.280.0000.01425.92
8.1.270.0150.00321.98
8.1.260.0000.00828.09
8.1.250.0080.00028.09
8.1.240.0090.00023.97
8.1.230.0070.00321.04
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0000.01117.35
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0030.00618.50
8.1.160.0000.00720.65
8.1.150.0020.00518.94
8.1.140.0080.00019.50
8.1.130.0040.00417.63
8.1.120.0070.00017.27
8.1.110.0000.00817.33
8.1.100.0070.00017.27
8.1.90.0000.00817.37
8.1.80.0000.00717.34
8.1.70.0080.00017.36
8.1.60.0040.00417.54
8.1.50.0030.00517.46
8.1.40.0060.00317.31
8.1.30.0080.00017.52
8.1.20.0000.00717.42
8.1.10.0050.00317.35
8.1.00.0080.00017.34
8.0.300.0030.00520.15
8.0.290.0000.00816.63
8.0.280.0070.00018.43
8.0.270.0030.00317.12
8.0.260.0080.00017.22
8.0.250.0040.00416.77
8.0.240.0030.00316.88
8.0.230.0000.00716.83
8.0.220.0060.00316.70
8.0.210.0000.00816.71
8.0.200.0060.00016.91
8.0.190.0000.00716.79
8.0.180.0050.00316.71
8.0.170.0000.01016.83
8.0.160.0070.00016.79
8.0.150.0100.00016.65
8.0.140.0040.00416.83
8.0.130.0000.00513.18
8.0.120.0040.00416.65
8.0.110.0000.00816.82
8.0.100.0000.00716.68
8.0.90.0070.00016.71
8.0.80.0060.01616.86
8.0.70.0070.00016.76
8.0.60.0040.00416.75
8.0.50.0070.00016.66
8.0.30.0120.00816.95
8.0.20.0120.00817.40
8.0.10.0080.00016.73
8.0.00.0090.00816.66
7.4.330.0000.00516.74
7.4.320.0060.00016.29
7.4.300.0000.00716.31
7.4.290.0060.00016.38
7.4.280.0050.00216.37
7.4.270.0040.00416.41
7.4.260.0050.00316.30
7.4.250.0030.00316.49
7.4.240.0000.00716.33
7.4.230.0030.00316.32
7.4.220.0060.01316.38
7.4.210.0070.00816.48
7.4.200.0040.00416.33
7.4.160.0110.00416.31
7.4.150.0090.00917.40
7.4.140.0070.01217.86
7.4.130.0120.00516.40
7.4.120.0090.00716.45
7.4.110.0140.00316.61
7.4.100.0150.00916.51
7.4.90.0090.00616.48
7.4.80.0090.00919.39
7.4.70.0050.01116.23
7.4.60.0130.01116.47
7.4.50.0100.00616.44
7.4.40.0070.01116.22
7.4.30.0060.01216.36
7.4.00.0100.00714.75
7.3.330.0000.00513.30
7.3.320.0000.00513.15
7.3.310.0000.00716.25
7.3.300.0070.00016.10
7.3.290.0060.00016.14
7.3.280.0030.01616.22
7.3.270.0090.00917.40
7.3.260.0070.01016.24
7.3.250.0080.00916.21
7.3.240.0090.00716.45
7.3.230.0090.00916.39
7.3.210.0130.00316.29
7.3.200.0100.00719.39
7.3.190.0110.01116.23
7.3.180.0100.00716.31
7.3.170.0160.00316.27
7.3.160.0120.01116.35
7.3.10.0050.00916.50
7.3.00.0110.00716.48
7.2.330.0130.00316.50
7.2.320.0160.00316.66
7.2.310.0110.00716.55
7.2.300.0040.01216.55
7.2.290.0110.00716.57
7.2.130.0070.00916.31
7.2.120.0060.00716.66
7.2.110.0100.00216.60
7.2.100.0070.00716.66
7.2.90.0030.01016.56
7.2.80.0090.00316.63
7.2.70.0060.01216.57
7.2.60.0090.00316.61
7.2.50.0060.01116.65
7.2.40.0070.00816.56
7.2.30.0030.01116.58
7.2.20.0110.00316.56
7.2.10.0100.00316.43
7.2.00.0070.00517.28
7.1.250.0070.00615.51
7.1.200.0030.00915.82
7.1.100.0060.00318.09
7.1.70.0000.00817.04
7.1.60.0040.00719.40
7.1.50.0100.01016.70
7.1.00.0100.07022.35
7.0.200.0240.00314.36
7.0.60.0200.07721.88
7.0.50.0030.06017.73
7.0.40.0170.07720.11
7.0.30.0270.04020.06
7.0.20.0400.07020.07
7.0.10.0030.09320.33
7.0.00.0200.06020.27
5.6.280.0030.06321.02
5.6.210.0130.07320.76
5.6.200.0030.07718.21
5.6.190.0070.09020.48
5.6.180.0500.06020.41
5.6.170.0500.06320.57
5.6.160.0000.04320.51
5.6.150.0070.03718.18
5.6.140.0030.08318.18
5.6.130.0000.04318.18
5.6.120.0200.07021.04
5.6.110.0070.04321.14
5.6.100.0000.04720.95
5.6.90.0100.08020.98
5.6.80.0070.08020.29
5.5.350.0070.04320.41
5.5.340.0070.03718.09
5.5.330.0200.07320.48
5.5.320.0470.04720.27
5.5.310.0370.07720.41
5.5.300.0030.04017.98
5.5.290.0070.06318.07
5.5.280.0100.08020.80
5.5.270.0070.08720.89
5.5.260.0170.08020.87
5.5.250.0170.07020.72
5.5.240.4070.03720.13

preferences:
44.6 ms | 401 KiB | 5 Q