3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Base { function base(); } interface Derived extends Base { function derived(); } interface Derp extends Base { function derp(); } class ThisIsValid implements Base, Derived { public function base() {} public function derived() {} } class IsThisValid implements Derp, Derived { public function base() {} public function derived() {} }

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.0090.00616.63
8.3.50.0110.00716.36
8.3.40.0110.00418.59
8.3.30.0080.00818.68
8.3.20.0040.00420.09
8.3.10.0080.00021.73
8.3.00.0070.00021.85
8.2.180.0140.00718.29
8.2.170.0140.00722.96
8.2.160.0030.01020.53
8.2.150.0000.00825.66
8.2.140.0040.00424.66
8.2.130.0080.00020.84
8.2.120.0040.00426.35
8.2.110.0070.00322.25
8.2.100.0080.00417.80
8.2.90.0080.00019.22
8.2.80.0000.00917.97
8.2.70.0030.00617.50
8.2.60.0070.00317.93
8.2.50.0000.00818.09
8.2.40.0040.00420.55
8.2.30.0040.00419.25
8.2.20.0040.00417.66
8.2.10.0070.00017.92
8.2.00.0050.00317.89
8.1.280.0080.00825.92
8.1.270.0080.00022.04
8.1.260.0030.00528.09
8.1.250.0040.00428.09
8.1.240.0000.00922.62
8.1.230.0040.00817.77
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0060.00317.22
8.1.180.0040.00418.10
8.1.170.0050.00318.66
8.1.160.0000.00720.63
8.1.150.0000.00718.85
8.1.140.0000.00819.50
8.1.130.0030.00317.54
8.1.120.0000.00717.45
8.1.110.0000.00817.32
8.1.100.0000.00717.28
8.1.90.0070.00017.38
8.1.80.0080.00017.43
8.1.70.0000.00717.44
8.1.60.0070.00317.52
8.1.50.0060.00317.40
8.1.40.0040.00417.33
8.1.30.0040.00417.59
8.1.20.0000.00717.49
8.1.10.0000.00817.29
8.1.00.0050.00317.28
8.0.300.0000.00718.77
8.0.290.0080.00016.63
8.0.280.0070.00018.38
8.0.270.0030.00317.23
8.0.260.0060.00017.24
8.0.250.0000.00717.01
8.0.240.0040.00416.87
8.0.230.0030.00317.00
8.0.220.0050.00316.88
8.0.210.0040.00416.79
8.0.200.0030.00316.82
8.0.190.0070.00316.91
8.0.180.0070.00016.87
8.0.170.0000.00716.91
8.0.160.0040.00416.84
8.0.150.0000.00716.80
8.0.140.0000.00716.77
8.0.130.0060.00013.27
8.0.120.0000.00816.89
8.0.110.0000.00816.93
8.0.100.0000.00816.90
8.0.90.0070.00016.85
8.0.80.0130.00716.91
8.0.70.0060.00316.75
8.0.60.0070.00016.73
8.0.50.0000.00716.75
8.0.30.0150.00317.12
8.0.20.0100.00817.40
8.0.10.0040.00416.96
8.0.00.0080.01016.77
7.4.330.0000.00616.84
7.4.320.0040.00416.42
7.4.300.0040.00416.53
7.4.290.0050.00316.42
7.4.280.0070.00016.43
7.4.270.0030.00316.45
7.4.260.0070.00016.40
7.4.250.0070.00016.39
7.4.240.0030.00316.35
7.4.230.0000.00716.27
7.4.220.0130.00916.45
7.4.210.0060.01316.57
7.4.200.0060.00316.40
7.4.160.0080.00816.64
7.4.150.0030.01517.40
7.4.140.0150.00717.86
7.4.130.0110.00816.42
7.4.120.0120.00516.34
7.4.110.0150.00616.50
7.4.100.0090.00916.39
7.4.90.0060.01616.42
7.4.80.0030.01319.39
7.4.70.0060.01016.51
7.4.60.0130.00316.38
7.4.50.0040.00716.35
7.4.40.0120.00416.43
7.4.30.0110.00616.37
7.4.00.0060.00914.83
7.3.330.0030.00313.18
7.3.320.0060.00013.31
7.3.310.0040.00416.25
7.3.300.0000.00616.09
7.3.290.0090.00916.22
7.3.280.0070.01016.25
7.3.270.0120.00617.40
7.3.260.0090.00916.39
7.3.250.0140.00716.28
7.3.240.0120.00816.34
7.3.230.0070.01016.39
7.3.210.0110.00716.36
7.3.200.0110.00519.39
7.3.190.0060.01216.51
7.3.180.0040.01116.41
7.3.170.0100.01316.27
7.3.160.0110.00616.28
7.2.330.0040.01316.22
7.2.320.0070.01016.37
7.2.310.0130.00416.61
7.2.300.0120.00616.57
7.2.290.0170.00616.34
7.2.60.0040.01116.66
7.2.00.0030.00919.04
7.1.200.0060.00315.61
7.1.100.0030.00617.83
7.1.70.0000.00916.96
7.1.60.0030.01319.40
7.1.50.0030.00716.84
7.1.00.0070.07322.37
7.0.200.0730.00614.21
7.0.60.0170.08021.79
7.0.50.0030.08317.98
7.0.40.0130.08020.13
7.0.30.0230.05320.16
7.0.20.0400.06720.19
7.0.10.0030.06020.10
7.0.00.0030.08720.27
5.6.280.0030.03020.93
5.6.210.0070.05020.55
5.6.200.0030.06018.13
5.6.190.0100.08320.49
5.6.180.0300.05020.47
5.6.170.0230.04720.54
5.6.160.0070.06020.51
5.6.150.0030.05018.19
5.6.140.0000.08318.12
5.6.130.0030.05318.28
5.6.120.0070.05321.03
5.6.110.0030.04721.05
5.6.100.0070.05721.00
5.6.90.0130.03320.89
5.6.80.0030.04320.43
5.5.350.0030.04720.39
5.5.340.0100.08318.07
5.5.330.0030.06020.44
5.5.320.0500.04020.24
5.5.310.0270.06020.28
5.5.300.0100.07717.98
5.5.290.0100.05017.97
5.5.280.0070.05320.81
5.5.270.0100.08020.77
5.5.260.0070.05720.88
5.5.250.0070.08720.56
5.5.240.3430.02720.27

preferences:
57.14 ms | 401 KiB | 5 Q