3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface IMyInterface1 { public function test(array $params); } interface IMyInterface2 { public function test(); } 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.70.0070.01118.40
8.3.60.0100.00318.55
8.3.50.0090.00621.14
8.3.40.0140.00718.70
8.3.30.0090.00618.95
8.3.20.0070.01020.18
8.3.10.0000.00822.09
8.3.00.0080.00022.41
8.2.190.0090.01216.58
8.2.180.0100.01016.38
8.2.170.0160.00322.96
8.2.160.0080.00520.39
8.2.150.0060.00324.18
8.2.140.0110.00724.66
8.2.130.0100.00726.16
8.2.120.0070.00319.54
8.2.110.0060.00322.31
8.2.100.0100.00319.45
8.2.90.0030.00519.20
8.2.80.0000.00817.97
8.2.70.0070.00317.50
8.2.60.0050.00317.80
8.2.50.0080.00018.07
8.2.40.0040.00418.03
8.2.30.0050.00218.00
8.2.20.0080.00017.59
8.2.10.0070.00017.58
8.2.00.0050.00517.63
8.1.280.0070.00725.92
8.1.270.0110.00420.36
8.1.260.0070.00026.35
8.1.250.0060.00328.09
8.1.240.0060.00323.88
8.1.230.0040.00819.04
8.1.220.0030.00617.74
8.1.210.0080.00018.77
8.1.200.0000.00917.22
8.1.190.0090.00017.39
8.1.180.0080.00018.10
8.1.170.0000.00818.59
8.1.160.0000.00822.13
8.1.150.0040.00418.58
8.1.140.0000.00717.39
8.1.130.0000.00717.64
8.1.120.0040.00417.41
8.1.110.0000.00817.34
8.1.100.0000.00717.30
8.1.90.0020.00517.27
8.1.80.0070.00017.39
8.1.70.0000.00717.25
8.1.60.0000.00817.56
8.1.50.0040.00417.47
8.1.40.0060.00317.32
8.1.30.0040.00417.59
8.1.20.0040.00417.60
8.1.10.0030.00617.40
8.1.00.0080.00317.31
8.0.300.0000.00718.77
8.0.290.0040.00417.18
8.0.280.0040.00418.46
8.0.270.0070.00017.07
8.0.260.0000.00616.88
8.0.250.0030.00316.85
8.0.240.0040.00416.93
8.0.230.0040.00416.92
8.0.220.0030.00316.77
8.0.210.0070.00016.85
8.0.200.0030.00316.93
8.0.190.0000.00716.98
8.0.180.0040.00316.75
8.0.170.0050.00316.94
8.0.160.0030.00516.79
8.0.150.0030.00316.85
8.0.140.0000.00816.87
8.0.130.0000.00513.32
8.0.120.0050.00316.82
8.0.110.0020.00516.89
8.0.100.0040.00416.75
8.0.90.0030.00416.76
8.0.80.0070.00716.89
8.0.70.0000.00716.79
8.0.60.0030.00516.91
8.0.50.0040.00416.87
8.0.30.0100.00817.10
8.0.20.0080.01517.40
8.0.10.0000.00717.05
8.0.00.0120.00716.76
7.4.330.0060.00015.00
7.4.320.0070.00016.54
7.4.300.0030.00316.34
7.4.290.0070.00016.43
7.4.280.0040.00316.54
7.4.270.0070.00016.38
7.4.260.0000.00916.52
7.4.250.0040.00416.52
7.4.240.0040.00416.40
7.4.230.0000.00716.36
7.4.220.0120.00916.43
7.4.210.0070.00716.50
7.4.200.0030.00316.64
7.4.190.0040.00216.50
7.4.160.0120.00816.21
7.4.150.0070.01017.40
7.4.140.0130.00517.86
7.4.130.0100.01016.64
7.4.120.0110.01016.46
7.4.110.0100.00716.37
7.4.100.0070.01416.52
7.4.90.0160.00616.39
7.4.80.0110.00719.39
7.4.70.0060.01016.30
7.4.60.0080.01116.41
7.4.50.0040.00416.36
7.4.40.0090.00622.77
7.4.30.0130.00316.38
7.4.00.0040.01015.04
7.3.330.0030.00213.10
7.3.320.0030.00313.08
7.3.310.0030.00316.05
7.3.300.0030.00316.25
7.3.290.0060.00916.28
7.3.280.0100.00516.23
7.3.270.0130.00617.40
7.3.260.0070.01116.41
7.3.250.0110.01116.23
7.3.240.0090.00816.42
7.3.230.0160.01016.39
7.3.210.0100.00616.52
7.3.200.0160.00019.39
7.3.190.0090.01216.35
7.3.180.0110.00516.34
7.3.170.0070.01016.45
7.3.160.0180.00016.21
7.3.120.0040.01214.90
7.3.110.0130.00314.66
7.3.100.0060.00914.65
7.3.90.0030.00814.75
7.3.80.0080.00814.80
7.3.70.0000.00814.60
7.3.60.0100.00614.81
7.3.50.0110.00014.39
7.3.40.0070.00714.73
7.3.30.0030.01414.75
7.3.20.0030.01316.59
7.3.10.0150.00016.22
7.3.00.0070.00316.50
7.2.330.0090.00916.57
7.2.320.0080.00816.53
7.2.310.0090.01316.62
7.2.300.0090.01416.26
7.2.290.0060.01116.38
7.2.250.0040.01414.75
7.2.240.0110.00715.13
7.2.230.0000.01214.77
7.2.220.0060.01014.49
7.2.210.0040.00714.77
7.2.200.0070.00714.96
7.2.190.0030.01014.59
7.2.180.0030.00614.66
7.2.170.0060.00614.84
7.2.60.0000.01016.77
7.2.00.0030.00619.40
7.1.330.0030.01415.76
7.1.320.0080.00515.79
7.1.310.0030.01015.59
7.1.300.0060.00915.67
7.1.290.0070.00715.45
7.1.280.0070.00715.61
7.1.270.0030.01315.68
7.1.260.0060.00915.73
7.1.200.0100.00715.60
7.1.100.0090.00618.09
7.1.70.0070.00317.01
7.1.60.0100.00719.50
7.1.50.0090.01216.78
7.1.00.0000.03722.35
7.0.200.0090.00016.38
7.0.140.0030.07322.15
7.0.60.0100.04019.82
7.0.50.0100.07717.85
7.0.40.0100.06720.04
7.0.30.0200.04720.08
7.0.20.0330.07020.23
7.0.10.0070.06720.12
7.0.00.0070.08320.11
5.6.280.0030.06720.86
5.6.210.0200.04720.66
5.6.200.0030.04318.22
5.6.190.0100.05320.55
5.6.180.0230.05020.39
5.6.170.0370.06320.44
5.6.160.0100.07720.55
5.6.150.0070.04318.28
5.6.140.0070.07018.29
5.6.130.0070.06318.27
5.6.120.0170.04720.88
5.6.110.0030.04021.02
5.6.100.0100.03721.01
5.6.90.0230.06720.97
5.6.80.0030.07020.53
5.5.350.0200.07320.53
5.5.340.0030.07717.98
5.5.330.0070.04020.44
5.5.320.0230.04020.30
5.5.310.0170.03720.21
5.5.300.0070.04717.95
5.5.290.0070.04017.99
5.5.280.0070.08320.87
5.5.270.0000.04720.75
5.5.260.0070.08320.88
5.5.250.0030.04020.57
5.5.240.0100.04320.16
5.4.450.0870.03019.39
5.4.440.0670.05719.48
5.4.430.0700.03719.54
5.4.420.0530.03319.55
5.4.410.1200.03319.28
5.4.400.0270.03719.07
5.4.390.0870.03719.13
5.4.380.0570.06318.84
5.4.370.0270.06018.50
5.4.360.0330.05018.77
5.4.350.0470.04318.84
5.4.340.0370.05018.86
5.4.320.0070.04212.50
5.4.310.0100.03812.50
5.4.300.0090.03312.50
5.4.290.0050.03812.50
5.4.280.0080.03912.40
5.4.270.0070.04112.40
5.4.260.0040.04312.39
5.4.250.0130.04318.96
5.4.240.0130.05318.75
5.4.230.0030.05719.09
5.4.220.0030.06318.94
5.4.210.0100.07018.79
5.4.200.0030.05718.74
5.4.190.0170.05718.95
5.4.180.0070.07318.98
5.4.170.0170.06318.96
5.4.160.0130.05018.75
5.4.150.0100.07018.97
5.4.140.0170.04316.49
5.4.130.0100.06716.58
5.4.120.0030.05316.41
5.4.110.0100.04716.55
5.4.100.0070.07016.67
5.4.90.0030.05016.70
5.4.80.0130.05316.53
5.4.70.0100.04716.36
5.4.60.0030.05316.59
5.4.50.0100.04716.45
5.4.40.0070.06316.44
5.4.30.0170.04016.48
5.4.20.0030.05316.35
5.4.10.0170.04716.30
5.4.00.0100.04715.90
5.3.290.0040.04612.80
5.3.280.0070.05314.68
5.3.270.0170.04314.58
5.3.260.0070.05314.59
5.3.250.0030.05314.69
5.3.240.0070.05014.51
5.3.230.0100.04714.82
5.3.220.0170.06314.47
5.3.210.0100.04714.79
5.3.200.0070.05314.63
5.3.190.0070.06714.63
5.3.180.0100.05314.72
5.3.170.0030.06014.79
5.3.160.0070.05014.64
5.3.150.0100.04714.72
5.3.140.0070.04714.63
5.3.130.0130.07314.72
5.3.120.0030.05314.55
5.3.110.0030.06314.62
5.3.100.0070.05014.01
5.3.90.0070.05014.09
5.3.80.0070.05014.19
5.3.70.0100.05014.18
5.3.60.0100.05713.97
5.3.50.0070.05313.95
5.3.40.0070.06714.13
5.3.30.0130.04713.99
5.3.20.0070.04713.73
5.3.10.0070.05013.73
5.3.00.0200.05013.63
5.2.170.0030.06011.22
5.2.160.0030.04311.21
5.2.150.0100.05011.22
5.2.140.0070.04311.21
5.2.130.0000.04311.18
5.2.120.0070.03711.18
5.2.110.0000.04311.09
5.2.100.0070.05011.17
5.2.90.0070.03711.09
5.2.80.0070.04011.07
5.2.70.0100.03711.08
5.2.60.0130.03711.14
5.2.50.0070.05710.98
5.2.40.0070.04011.07
5.2.30.0130.05011.14
5.2.20.0130.03010.95
5.2.10.0030.05311.02
5.2.00.0030.04710.94
5.1.60.0100.03010.01
5.1.50.0030.0409.95
5.1.40.0000.0379.96
5.1.30.0070.04710.30
5.1.20.0030.03710.42
5.1.10.0030.03310.23
5.1.00.0070.03010.11
5.0.50.0000.0308.63
5.0.40.0030.0278.24
5.0.30.0000.0438.14
5.0.20.0070.0378.18
5.0.10.0030.0278.22
5.0.00.0000.0478.16
4.4.90.0000.0276.50
4.4.80.0000.0236.50
4.4.70.0000.0236.50
4.4.60.0030.0176.50
4.4.50.0030.0206.50
4.4.40.0000.0376.50
4.4.30.0070.0176.50
4.4.20.0030.0206.50
4.4.10.0030.0206.50
4.4.00.0000.0336.50
4.3.110.0000.0206.50
4.3.100.0000.0206.50
4.3.90.0000.0306.50
4.3.80.0030.0406.50
4.3.70.0070.0176.50
4.3.60.0000.0306.50
4.3.50.0030.0236.50
4.3.40.0000.0376.50
4.3.30.0000.0276.50
4.3.20.0000.0236.50
4.3.10.0030.0236.50
4.3.00.0100.01314.52

preferences:
48.79 ms | 401 KiB | 5 Q