3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface A { public function a(); } interface B { public function b(); } class Base implements A, B { public function a() {} public function b() {} } class Derived extends Base implements B { public function b() {} }

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.01316.75
8.3.50.0110.01022.12
8.3.40.0060.00918.54
8.3.30.0040.01118.49
8.3.20.0050.00320.21
8.3.10.0070.00021.91
8.3.00.0050.00321.86
8.2.180.0140.00725.92
8.2.170.0170.00322.96
8.2.160.0070.00720.07
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0050.00320.79
8.2.120.0070.00026.35
8.2.110.0000.00919.20
8.2.100.0090.00317.91
8.2.90.0080.00019.08
8.2.80.0000.00817.97
8.2.70.0000.00917.50
8.2.60.0060.00317.93
8.2.50.0050.00218.09
8.2.40.0040.00420.47
8.2.30.0000.00719.30
8.2.20.0040.00417.49
8.2.10.0000.00817.88
8.2.00.0040.00417.96
8.1.280.0070.00725.92
8.1.270.0060.01222.09
8.1.260.0050.00228.09
8.1.250.0000.00828.09
8.1.240.0060.00322.45
8.1.230.0110.00017.57
8.1.220.0000.00717.74
8.1.210.0000.00818.77
8.1.200.0030.00717.23
8.1.190.0000.00817.10
8.1.180.0040.00418.10
8.1.170.0030.00618.52
8.1.160.0040.00420.68
8.1.150.0040.00420.78
8.1.140.0030.00519.55
8.1.130.0040.00417.63
8.1.120.0000.00717.45
8.1.110.0060.00317.45
8.1.100.0000.00717.42
8.1.90.0000.00717.36
8.1.80.0030.00617.38
8.1.70.0000.00817.35
8.1.60.0040.00417.53
8.1.50.0090.00017.36
8.1.40.0060.00317.33
8.1.30.0060.00317.59
8.1.20.0040.00417.54
8.1.10.0000.00717.35
8.1.00.0070.00017.24
8.0.300.0090.00018.77
8.0.290.0040.00416.75
8.0.280.0030.00318.23
8.0.270.0000.00816.66
8.0.260.0030.00317.09
8.0.250.0000.00716.78
8.0.240.0070.00016.79
8.0.230.0030.00316.75
8.0.220.0080.00016.90
8.0.210.0040.00416.87
8.0.200.0060.00016.94
8.0.190.0060.00316.88
8.0.180.0000.00816.80
8.0.170.0080.00016.68
8.0.160.0030.00316.84
8.0.150.0040.00416.75
8.0.140.0000.00816.68
8.0.130.0000.00513.28
8.0.120.0040.00416.68
8.0.110.0050.00216.71
8.0.100.0000.00716.82
8.0.90.0040.00416.83
8.0.80.0060.00916.88
8.0.70.0070.00016.88
8.0.60.0020.00516.81
8.0.50.0040.00416.64
8.0.30.0150.00517.04
8.0.20.0100.01117.40
8.0.10.0060.00316.94
8.0.00.0110.00616.69
7.4.330.0000.00516.84
7.4.320.0060.00016.42
7.4.300.0030.00516.37
7.4.290.0030.00316.41
7.4.280.0030.00516.41
7.4.270.0030.00316.37
7.4.260.0030.00316.50
7.4.250.0040.00416.48
7.4.240.0040.00416.48
7.4.230.0070.00016.63
7.4.220.0080.01216.59
7.4.210.0050.00916.53
7.4.200.0070.00016.50
7.4.160.0180.00016.43
7.4.150.0140.01017.40
7.4.140.0170.00417.86
7.4.130.0100.00716.44
7.4.120.0080.01016.39
7.4.110.0060.01016.42
7.4.100.0070.01116.43
7.4.90.0100.01416.39
7.4.80.0060.01219.39
7.4.70.0100.00616.43
7.4.60.0000.02016.29
7.4.50.0040.01116.16
7.4.40.0060.00916.29
7.4.30.0100.01016.58
7.4.00.0060.00714.72
7.3.330.0060.00013.15
7.3.320.0000.00513.18
7.3.310.0070.00016.18
7.3.300.0030.00316.18
7.3.290.0070.00016.18
7.3.280.0120.00516.21
7.3.270.0090.00917.40
7.3.260.0060.01216.55
7.3.250.0100.01016.36
7.3.240.0110.00716.33
7.3.230.0090.01216.39
7.3.210.0060.01016.50
7.3.200.0050.01119.39
7.3.190.0100.00716.34
7.3.180.0040.01216.60
7.3.170.0100.00716.27
7.3.160.0260.00116.45
7.3.120.0070.00714.84
7.3.110.0070.01014.72
7.3.100.0070.00714.75
7.3.90.0100.00314.51
7.3.80.0110.00614.90
7.3.70.0070.00714.40
7.3.60.0130.00314.46
7.3.50.0070.00714.89
7.3.40.0040.01114.49
7.3.30.0070.00714.71
7.3.20.0060.00316.27
7.3.10.0030.01016.65
7.3.00.0000.00916.57
7.2.330.0030.01416.49
7.2.320.0130.00316.48
7.2.310.0140.00316.39
7.2.300.0060.01016.38
7.2.290.0060.01016.55
7.2.250.0040.00714.82
7.2.240.0060.00914.97
7.2.230.0090.00914.96
7.2.220.0030.01014.93
7.2.210.0080.00414.96
7.2.200.0070.01014.76
7.2.190.0090.00914.82
7.2.180.0060.00614.82
7.2.170.0100.00715.03
7.2.60.0120.00316.72
7.2.00.0000.01218.98
7.1.330.0060.00615.76
7.1.320.0030.01015.73
7.1.310.0060.00915.73
7.1.300.0030.00915.75
7.1.290.0130.00015.62
7.1.280.0060.01015.50
7.1.270.0090.00315.55
7.1.260.0040.01115.66
7.1.200.0030.00615.59
7.1.100.0040.00718.19
7.1.70.0030.00516.98
7.1.60.0070.01719.40
7.1.50.0250.00934.71
7.1.00.0000.07722.26
7.0.200.0190.00614.66
7.0.60.0200.07321.66
7.0.50.0100.08017.87
7.0.40.0100.05320.02
7.0.30.0170.04320.06
7.0.20.0230.08320.23
7.0.10.0030.04320.09
7.0.00.0100.06020.33
5.6.210.0100.03720.70
5.6.200.0170.07318.22
5.6.190.0070.05720.27
5.6.180.0170.05720.60
5.6.170.0300.04320.51
5.6.160.0100.06320.52
5.6.150.0100.05018.15
5.6.140.0070.03718.18
5.6.130.0070.08718.18
5.6.120.0030.09021.15
5.6.110.0100.08721.00
5.6.100.0030.05721.14
5.6.90.0200.08320.88
5.6.80.0170.07320.54
5.5.350.0070.07720.48
5.5.340.0130.06717.99
5.5.330.0100.07720.21
5.5.320.0630.07320.35
5.5.310.0170.06020.34
5.5.300.0130.07318.08
5.5.290.0130.04317.92
5.5.280.0070.03720.75
5.5.270.0070.05320.68
5.5.260.0000.04720.87
5.5.250.0130.06320.61
5.5.240.0300.05020.26

preferences:
55.29 ms | 401 KiB | 5 Q