3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface IMyInterface1 { public function test(array $params); } interface IMyInterface2 { public function test(array $params); } abstract class MyClass implements IMyInterface1, IMyInterface2 { public abstract function test($params); } /* class MyClass implements IMyInterface1, IMyInterface2 { public function test(array $params) { echo '1'; } } $v = new MyClass; $v->test(array()); */

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.0100.01018.43
8.3.50.0130.00321.14
8.3.40.0170.00318.72
8.3.30.0070.00718.96
8.3.20.0000.00720.28
8.3.10.0070.00021.95
8.3.00.0080.00022.37
8.2.180.0070.00716.38
8.2.170.0110.01122.96
8.2.160.0130.00320.35
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0110.00726.16
8.2.120.0050.00319.41
8.2.110.0090.00020.38
8.2.100.0040.00817.84
8.2.90.0080.00019.17
8.2.80.0000.00817.97
8.2.70.0030.00617.38
8.2.60.0040.00417.93
8.2.50.0000.00918.07
8.2.40.0000.00718.09
8.2.30.0040.00418.00
8.2.20.0040.00417.60
8.2.10.0000.00817.68
8.2.00.0030.01117.60
8.1.280.0150.00325.92
8.1.270.0090.00020.31
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0090.00022.20
8.1.230.0080.00317.42
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0040.00417.50
8.1.180.0040.00418.81
8.1.170.0060.00318.59
8.1.160.0040.00422.12
8.1.150.0000.00818.57
8.1.140.0070.00017.39
8.1.130.0030.00317.76
8.1.120.0030.00317.43
8.1.110.0070.00017.43
8.1.100.0040.00417.31
8.1.90.0000.00817.35
8.1.80.0000.00717.38
8.1.70.0000.00717.30
8.1.60.0070.00417.50
8.1.50.0030.00517.46
8.1.40.0080.00017.34
8.1.30.0000.00717.52
8.1.20.0000.00817.64
8.1.10.0030.00517.46
8.1.00.0080.00417.17
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0030.00318.37
8.0.270.0050.00217.20
8.0.260.0030.00316.75
8.0.250.0040.00416.89
8.0.240.0050.00316.84
8.0.230.0070.00016.71
8.0.220.0030.00316.89
8.0.210.0000.00716.78
8.0.200.0030.00316.87
8.0.190.0040.00416.84
8.0.180.0040.00416.90
8.0.170.0060.00316.71
8.0.160.0000.00816.87
8.0.150.0040.00416.80
8.0.140.0000.00816.68
8.0.130.0050.00013.26
8.0.120.0050.00216.71
8.0.110.0070.00016.87
8.0.100.0000.00716.62
8.0.90.0000.00816.89
8.0.80.0040.01116.71
8.0.70.0040.00416.76
8.0.60.0000.00716.81
8.0.50.0040.00416.88
8.0.30.0100.00817.02
8.0.20.0080.01017.40
8.0.10.0070.00016.94
8.0.00.0050.01316.62
7.4.330.0030.00315.06
7.4.320.0070.00016.43
7.4.300.0030.00316.34
7.4.290.0030.00316.45
7.4.280.0070.00016.43
7.4.270.0040.00416.43
7.4.260.0060.00616.49
7.4.250.0000.00716.35
7.4.240.0040.00416.49
7.4.230.0070.00016.65
7.4.220.0190.00616.45
7.4.210.0100.00416.49
7.4.200.0000.00716.61
7.4.190.0040.00416.60
7.4.160.0060.01516.41
7.4.150.0030.01717.40
7.4.140.0220.01417.86
7.4.130.0100.00716.42
7.4.120.0110.00816.33
7.4.110.0130.00416.45
7.4.100.0150.00916.38
7.4.90.0100.00716.67
7.4.80.0070.01319.39
7.4.70.0050.01116.34
7.4.60.0130.00316.53
7.4.50.0030.00616.32
7.4.40.0060.00922.77
7.4.30.0110.00516.22
7.4.00.0100.00514.90
7.3.330.0030.00313.24
7.3.320.0000.00613.14
7.3.310.0030.00316.03
7.3.300.0030.00316.00
7.3.290.0060.00916.10
7.3.280.0070.00916.15
7.3.270.0140.00317.40
7.3.260.0060.01116.46
7.3.250.0060.01216.40
7.3.240.0090.01216.36
7.3.230.0130.00616.39
7.3.210.0090.00916.45
7.3.200.0100.01019.39
7.3.190.0090.01016.14
7.3.180.0130.00316.39
7.3.170.0070.01016.42
7.3.160.0100.00816.35
7.3.120.0060.00614.65
7.3.110.0100.01014.93
7.3.100.0110.00414.52
7.3.90.0040.01114.48
7.3.80.0110.00314.62
7.3.70.0130.00314.79
7.3.60.0090.00614.76
7.3.50.0070.00714.63
7.3.40.0060.00514.62
7.3.30.0070.00714.78
7.3.20.0100.00316.63
7.3.10.0060.00916.70
7.3.00.0130.00316.36
7.2.330.0130.00416.41
7.2.320.0100.01316.60
7.2.310.0100.00716.54
7.2.300.0120.00616.37
7.2.290.0100.00716.68
7.2.250.0060.01214.86
7.2.240.0070.01314.95
7.2.230.0030.01215.03
7.2.220.0030.01414.85
7.2.210.0100.00714.96
7.2.200.0070.01014.96
7.2.190.0040.01115.06
7.2.180.0110.00414.68
7.2.170.0060.00914.84
7.2.80.0000.01116.52
7.2.60.0110.00416.82
7.2.00.0000.01218.96
7.1.330.0000.01615.43
7.1.320.0080.00415.73
7.1.310.0000.01015.78
7.1.300.0080.00615.69
7.1.290.0000.01015.65
7.1.280.0070.01015.57
7.1.270.0090.00315.62
7.1.260.0040.00815.76
7.1.200.0070.00315.68
7.1.100.0040.01217.58
7.1.70.0040.00416.74
7.1.60.0070.01119.69
7.1.50.0030.01716.52
7.1.00.0000.04322.45
7.0.200.0040.00416.74
7.0.140.0130.06322.04
7.0.60.0130.07320.02
7.0.50.0030.04017.87
7.0.40.0070.08320.05
7.0.30.0200.07320.07
7.0.20.0300.08320.16
7.0.10.0130.08320.15
7.0.00.0070.05020.12
5.6.280.0070.06720.98
5.6.210.0170.07720.53
5.6.200.0070.04318.18
5.6.190.0100.08320.64
5.6.180.0370.07720.57
5.6.170.0270.07320.57
5.6.160.0030.06020.54
5.6.150.0130.07718.16
5.6.140.0070.08018.25
5.6.130.0030.04018.21
5.6.120.0070.08020.90
5.6.110.0030.09020.98
5.6.100.0170.07720.98
5.6.90.0030.08721.10
5.6.80.0030.05020.39
5.6.70.3730.04320.37
5.5.350.0100.07720.43
5.5.340.0030.04318.05
5.5.330.0170.07020.42
5.5.320.0170.04320.25
5.5.310.0200.04020.27
5.5.300.0100.07717.99
5.5.290.0030.08018.06
5.5.280.0070.08020.80
5.5.270.0030.04020.76
5.5.260.0100.08320.86
5.5.250.0130.06320.68
5.5.240.0070.06320.29
5.4.450.0270.07019.61
5.4.440.0730.06719.20
5.4.430.0800.07319.45
5.4.420.0830.05319.30
5.4.410.1070.06719.42
5.4.400.0800.06318.66
5.4.390.1130.06318.69
5.4.380.0300.05718.46
5.4.370.0200.04718.72
5.4.360.0070.05718.73
5.4.350.0050.03912.02
5.4.340.0080.03612.01
5.4.320.0110.03812.50
5.4.310.0080.03912.50
5.4.300.0050.04112.50
5.4.290.0080.04312.50
5.4.280.0070.04112.39
5.4.270.0090.03512.39
5.4.260.0060.03812.40
5.4.250.0070.05318.79
5.4.240.0030.05718.89
5.4.230.0100.05318.93
5.4.220.0130.05018.94
5.4.210.0170.04318.76
5.4.200.0100.06318.79
5.4.190.0070.06719.00
5.4.180.0130.04718.89
5.4.170.0070.07718.89
5.4.160.0100.06018.94
5.4.150.0030.05719.00
5.4.140.0130.04716.55
5.4.130.0070.05316.41
5.4.120.0100.04716.58
5.4.110.0030.05316.46
5.4.100.0100.04316.57
5.4.90.0030.05716.44
5.4.80.0030.05016.39
5.4.70.0100.04716.52
5.4.60.0130.06716.59
5.4.50.0070.05016.44
5.4.40.0100.05316.45
5.4.30.0170.04316.38
5.4.20.0000.05316.59
5.4.10.0130.04716.62
5.4.00.0100.06315.84
5.3.290.0090.03812.80
5.3.280.0200.06014.68
5.3.270.0030.05714.68
5.3.260.0030.05714.79
5.3.250.0100.04714.67
5.3.240.0030.05714.45
5.3.230.0000.05714.43
5.3.220.0070.06714.64
5.3.210.0100.06014.73
5.3.200.0230.04714.55
5.3.190.0130.04314.55
5.3.180.0070.05014.70
5.3.170.0170.04314.55
5.3.160.0070.05714.64
5.3.150.0070.05014.55
5.3.140.0070.04714.46
5.3.130.0170.04314.64
5.3.120.0070.07014.69
5.3.110.0200.06014.45
5.3.100.0100.06714.18
5.3.90.0000.05714.11
5.3.80.0070.05014.20
5.3.70.0130.04714.09
5.3.60.0200.04014.16
5.3.50.0070.04713.95
5.3.40.0070.04714.17
5.3.30.0030.05014.00
5.3.20.0030.05713.67
5.3.10.0000.05713.89
5.3.00.0100.06313.63
5.2.170.0030.04011.31
5.2.160.0070.05711.37
5.2.150.0030.04311.23
5.2.140.0070.06011.22
5.2.130.0000.04711.06
5.2.120.0170.04710.94
5.2.110.0000.04711.20
5.2.100.0070.03710.93
5.2.90.0130.05011.19
5.2.80.0030.04010.94
5.2.70.0070.04311.06
5.2.60.0130.03311.14
5.2.50.0030.04010.99
5.2.40.0100.04011.07
5.2.30.0030.04310.96
5.2.20.0100.05011.14
5.2.10.0170.02710.95
5.2.00.0030.04010.63
5.1.60.0000.0509.92
5.1.50.0030.0379.99
5.1.40.0100.02710.18
5.1.30.0070.03310.29
5.1.20.0030.04010.57
5.1.10.0030.03310.13
5.1.00.0100.03010.08
5.0.50.0070.0238.64
5.0.40.0000.0308.32
5.0.30.0070.0408.21
5.0.20.0000.0308.19
5.0.10.0070.0278.21
5.0.00.0070.0478.09
4.4.90.0030.0206.34
4.4.80.0030.0176.34
4.4.70.0070.0176.34
4.4.60.0000.0236.34
4.4.50.0070.0176.34
4.4.40.0000.0376.34
4.4.30.0000.0236.34
4.4.20.0030.0206.34
4.4.10.0100.0236.34
4.4.00.0030.0336.34
4.3.110.0070.0236.34
4.3.100.0000.0236.34
4.3.90.0030.0206.34
4.3.80.0030.0436.34
4.3.70.0030.0206.34
4.3.60.0030.0276.34
4.3.50.0070.0306.34
4.3.40.0070.0406.34
4.3.30.0000.0236.34
4.3.20.0070.0276.34
4.3.10.0030.0276.34
4.3.00.0200.0238.43

preferences:
44.03 ms | 401 KiB | 5 Q