3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface A{ public function method(); } interface B{ public function method(); public function other(); } class Q implements A,B{ public function method() { echo "method\n"; } public function other() { echo "other\n"; } } $q = new Q; $q->method(); $q->other();

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.0120.00616.63
8.3.50.0070.01121.97
8.3.40.0040.01118.65
8.3.30.0110.00719.04
8.3.20.0070.00020.39
8.3.10.0040.00423.64
8.3.00.0070.00021.00
8.2.180.0070.00716.63
8.2.170.0070.00722.96
8.2.160.0100.00720.47
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0050.00320.81
8.2.110.0060.00319.18
8.2.100.0040.00717.80
8.2.90.0050.00319.28
8.2.80.0000.00817.97
8.2.70.0060.00317.38
8.2.60.0030.00617.91
8.2.50.0040.00418.10
8.2.40.0050.00318.07
8.2.30.0100.00018.34
8.2.20.0000.00717.62
8.2.10.0040.00418.03
8.2.00.0000.00817.68
8.1.280.0100.00625.92
8.1.270.0080.00023.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00623.84
8.1.230.0080.00317.70
8.1.220.0080.00017.78
8.1.210.0040.00418.77
8.1.200.0030.00617.25
8.1.190.0050.00317.35
8.1.180.0060.00318.10
8.1.170.0080.00018.50
8.1.160.0000.00722.00
8.1.150.0000.00918.69
8.1.140.0000.00717.32
8.1.130.0030.00317.82
8.1.120.0030.00317.45
8.1.110.0070.00317.46
8.1.100.0040.00417.49
8.1.90.0070.00017.43
8.1.80.0020.00517.37
8.1.70.0000.00717.41
8.1.60.0040.00417.61
8.1.50.0090.00017.51
8.1.40.0040.00417.50
8.1.30.0040.00417.53
8.1.20.0040.00417.48
8.1.10.0070.00017.44
8.1.00.0060.00617.39
8.0.300.0040.00418.77
8.0.290.0050.00216.63
8.0.280.0030.00318.45
8.0.270.0070.00016.78
8.0.260.0000.00618.49
8.0.250.0030.00316.98
8.0.240.0030.00616.97
8.0.230.0000.00716.81
8.0.220.0030.00316.94
8.0.210.0030.00316.88
8.0.200.0060.00016.86
8.0.190.0040.00416.86
8.0.180.0040.00416.98
8.0.170.0050.00216.80
8.0.160.0030.00316.77
8.0.150.0030.00316.70
8.0.140.0080.00016.82
8.0.130.0050.00013.32
8.0.120.0000.00816.89
8.0.110.0070.00016.83
8.0.100.0080.00016.86
8.0.90.0000.00716.73
8.0.80.0080.00816.86
8.0.70.0000.00816.93
8.0.60.0020.00516.90
8.0.50.0050.00216.78
8.0.30.0080.01117.19
8.0.20.0100.00917.40
8.0.10.0000.00717.00
8.0.00.0080.01016.83
7.4.330.0000.00615.09
7.4.320.0040.00416.61
7.4.300.0030.00316.58
7.4.290.0030.00616.43
7.4.280.0070.00016.42
7.4.270.0000.00816.60
7.4.260.0030.00313.23
7.4.250.0000.00716.52
7.4.240.0020.00516.54
7.4.230.0040.00416.56
7.4.220.0150.00616.68
7.4.210.0140.00716.64
7.4.200.0030.00316.44
7.4.160.0060.00916.45
7.4.150.0060.01117.40
7.4.140.0130.00717.86
7.4.130.0080.00916.45
7.4.120.0090.00716.54
7.4.110.0060.01016.58
7.4.100.0120.00616.57
7.4.90.0120.00616.58
7.4.80.0070.01519.39
7.4.70.0070.01416.57
7.4.60.0110.00916.41
7.4.50.0000.00416.34
7.4.40.0080.00816.45
7.4.30.0060.00916.59
7.4.00.0100.00715.09
7.3.330.0000.00613.11
7.3.320.0030.00313.16
7.3.310.0050.00216.12
7.3.300.0030.00316.10
7.3.290.0100.01016.26
7.3.280.0120.00516.25
7.3.270.0100.00717.40
7.3.260.0090.00916.45
7.3.250.0120.00616.27
7.3.240.0150.00316.26
7.3.230.0070.01016.41
7.3.210.0000.01716.41
7.3.200.0140.00719.39
7.3.190.0070.01016.38
7.3.180.0090.00616.36
7.3.170.0140.00716.43
7.3.160.0160.00916.28
7.3.120.0110.00314.65
7.2.330.0140.00716.41
7.2.320.0090.00916.62
7.2.310.0000.01516.28
7.2.300.0030.01316.33
7.2.290.0110.00716.37
7.2.00.0070.00319.28
7.1.200.0070.00715.68
7.1.100.0030.01017.81
7.1.70.0040.00416.80
7.1.60.0060.00617.31
7.1.50.0060.00616.83
7.1.00.0070.07322.51
7.0.200.0060.00316.61
7.0.140.0070.07022.08
7.0.60.0070.09019.95
7.0.50.0100.07717.86
7.0.40.0000.05020.13
7.0.30.0070.05020.08
7.0.20.0300.08020.10
7.0.10.0230.04020.16
7.0.00.0170.06720.35
5.6.280.0000.07721.10
5.6.210.0000.06020.51
5.6.200.0070.08718.27
5.6.190.0100.08020.53
5.6.180.0430.05020.64
5.6.170.0300.07320.51
5.6.160.0030.09020.56
5.6.150.0100.04718.21
5.6.140.0030.08318.15
5.6.130.0030.05718.23
5.6.120.0100.09321.02
5.6.110.0070.07321.14
5.6.100.0100.03320.98
5.6.90.0070.08321.07
5.6.80.0030.08020.37
5.6.70.4200.04020.37
5.5.350.0070.07720.43
5.5.340.0030.04717.95
5.5.330.0070.04020.37
5.5.320.0330.06720.25
5.5.310.0270.06020.35
5.5.300.0070.07017.97
5.5.290.0070.05018.00
5.5.280.0070.08020.89
5.5.270.0070.06320.84
5.5.260.0170.08320.96
5.5.250.0100.08020.77
5.5.240.0200.05720.20
5.4.450.0300.06319.32
5.4.440.0330.07019.63
5.4.430.0270.07319.56
5.4.420.0200.07019.30
5.4.410.0170.05719.28
5.4.400.0300.07019.31
5.4.390.0200.07319.22
5.4.380.0230.07718.95
5.4.370.0230.03719.24
5.4.360.0130.04719.00
5.4.350.0300.06019.09
5.4.340.0430.05018.87
5.4.320.0200.07019.31
5.4.310.0230.05019.16
5.4.300.0230.07019.23
5.4.290.0300.07018.94
5.4.280.0400.05018.85
5.4.270.0230.03719.21
5.4.260.0200.07719.24
5.4.250.0270.06718.96
5.4.240.0270.07319.14
5.4.230.0270.07719.18
5.4.220.0230.06019.08
5.4.210.0170.05019.24
5.4.200.0270.05719.30
5.4.190.0200.08019.05
5.4.180.0200.05319.05
5.4.170.0470.04018.84
5.4.160.0230.07019.07
5.4.150.0230.05018.97
5.4.140.0300.06716.51
5.4.130.0200.04716.40
5.4.120.0230.04316.38
5.4.110.0270.06716.40
5.4.100.0270.04316.50
5.4.90.0300.06016.56
5.4.80.0330.04716.30
5.4.70.0130.06316.59
5.4.60.0200.05716.16
5.4.50.0270.04716.43
5.4.40.0230.07016.39
5.4.30.0200.04716.44
5.4.20.0170.04716.24
5.4.10.0200.03316.33
5.4.00.0130.05715.83
5.3.290.0300.06014.64
5.3.280.0300.07014.64
5.3.270.0200.05714.51
5.3.260.0230.07014.69
5.3.250.0230.06314.68
5.3.240.0270.05714.68
5.3.230.0270.06014.59
5.3.220.0200.05014.48
5.3.210.0270.07314.55
5.3.200.0200.07314.64
5.3.190.0230.06714.57
5.3.180.0200.06314.61
5.3.170.0270.06714.54
5.3.160.0200.07314.79
5.3.150.0330.03014.72
5.3.140.0130.05314.56
5.3.130.0370.06014.50
5.3.120.0270.04714.77
5.3.110.0200.03714.60
5.3.100.0300.06314.05
5.3.90.0370.05313.92
5.3.80.0300.06313.93
5.3.70.0170.05314.02
5.3.60.0230.05013.92
5.3.50.0230.07014.00
5.3.40.0170.05713.97
5.3.30.0200.04714.08
5.3.20.0100.04313.80
5.3.10.0270.06713.56
5.3.00.0270.07013.87
5.2.170.0100.05012.00
5.2.160.0170.05712.00
5.2.150.0200.05312.00
5.2.140.0170.05312.00
5.2.130.0170.04712.00
5.2.120.0230.04312.00
5.2.110.0170.06012.00
5.2.100.0230.02712.00
5.2.90.0200.05712.00
5.2.80.0200.06312.00
5.2.70.0130.05312.00
5.2.60.0230.05712.00
5.2.50.0230.04712.00
5.2.40.0200.05312.00
5.2.30.0200.03312.00
5.2.20.0170.03312.00
5.2.10.0170.04312.00
5.2.00.0270.03012.00
5.1.60.0130.03712.00
5.1.50.0170.02312.00
5.1.40.0170.03312.00
5.1.30.0100.03312.00
5.1.20.0100.03312.00
5.1.10.0170.05312.00
5.1.00.0270.04012.00
5.0.50.0100.04712.00
5.0.40.0070.04312.00
5.0.30.0130.05312.00
5.0.20.0070.03712.00
5.0.10.0130.02712.00
5.0.00.0100.06312.00
4.4.90.0070.02312.00
4.4.80.0030.02312.00
4.4.70.0130.01312.00
4.4.60.0100.03712.00
4.4.50.0070.03712.00
4.4.40.0070.02712.00
4.4.30.0030.02312.00
4.4.20.0070.02712.00
4.4.10.0170.02012.00
4.4.00.0100.04712.00
4.3.110.0070.03312.00
4.3.100.0100.02312.00
4.3.90.0070.02712.00
4.3.80.0170.02712.00
4.3.70.0100.02312.00
4.3.60.0070.02012.00
4.3.50.0070.03712.00
4.3.40.0070.03312.00
4.3.30.0030.02312.00
4.3.20.0030.02012.00
4.3.10.0030.04012.00
4.3.00.0100.02012.00

preferences:
54.48 ms | 400 KiB | 5 Q