3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface TestInterface { public function foo(); } class Test implements TestInterface { public function foo(...$extraArgs) { } } $obj = new Test; $obj->foo();

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.0070.01116.49
8.3.50.0100.00623.00
8.3.40.0140.00018.67
8.3.30.0110.00419.03
8.3.20.0040.00420.30
8.3.10.0000.00723.48
8.3.00.0080.00019.04
8.2.180.0060.00925.92
8.2.170.0070.00718.79
8.2.160.0100.00722.96
8.2.150.0040.00425.66
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0080.00020.95
8.2.110.0030.00620.48
8.2.100.0070.00417.91
8.2.90.0040.00418.22
8.2.80.0000.00917.97
8.2.70.0040.00717.63
8.2.60.0080.00018.00
8.2.50.0090.00018.10
8.2.40.0000.00818.09
8.2.30.0000.00717.99
8.2.20.0040.00417.61
8.2.10.0040.00418.11
8.2.00.0000.00717.57
8.1.280.0150.00025.92
8.1.270.0040.00424.66
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0040.00421.98
8.1.230.0080.00324.00
8.1.220.0000.00917.79
8.1.210.0030.00518.77
8.1.200.0030.00617.35
8.1.190.0000.00917.22
8.1.180.0000.00918.10
8.1.170.0050.00518.68
8.1.160.0070.00022.08
8.1.150.0000.00718.89
8.1.140.0000.00719.02
8.1.130.0030.00317.80
8.1.120.0000.00717.48
8.1.110.0060.00317.46
8.1.100.0030.00317.37
8.1.90.0080.00017.44
8.1.80.0030.00517.49
8.1.70.0070.00017.46
8.1.60.0030.00617.50
8.1.50.0030.00617.45
8.1.40.0000.00717.40
8.1.30.0000.00817.54
8.1.20.0040.00417.68
8.1.10.0000.00817.39
8.1.00.0050.00317.48
8.0.300.0040.00421.80
8.0.290.0060.00316.75
8.0.280.0040.00418.49
8.0.270.0050.00317.16
8.0.260.0000.00717.20
8.0.250.0040.00417.00
8.0.240.0000.00716.91
8.0.230.0070.00016.97
8.0.220.0030.00316.78
8.0.210.0080.00016.90
8.0.200.0000.00616.88
8.0.190.0040.00416.93
8.0.180.0000.00716.77
8.0.170.0000.00716.95
8.0.160.0000.00716.77
8.0.150.0070.00016.83
8.0.140.0080.00016.81
8.0.130.0030.00313.38
8.0.120.0070.00016.91
8.0.110.0040.00416.80
8.0.100.0050.00216.84
8.0.90.0050.00316.83
8.0.80.0120.00916.95
8.0.70.0030.00516.79
8.0.60.0000.00816.93
8.0.50.0050.00316.95
8.0.30.0150.00317.06
8.0.20.0160.00417.40
8.0.10.0030.00516.87
8.0.00.0130.00516.72
7.4.330.0000.00515.00
7.4.320.0070.00016.51
7.4.300.0030.00316.50
7.4.290.0030.00316.61
7.4.280.0040.00416.40
7.4.270.0030.00316.38
7.4.260.0030.00316.42
7.4.250.0040.00416.56
7.4.240.0050.00216.59
7.4.230.0030.00316.42
7.4.220.0170.01016.50
7.4.210.0080.00816.60
7.4.200.0030.00316.59
7.4.160.0060.00916.27
7.4.150.0110.00817.40
7.4.140.0090.00817.86
7.4.130.0080.00916.58
7.4.120.0100.00816.53
7.4.110.0100.00616.65
7.4.100.0060.01116.60
7.4.90.0080.00816.50
7.4.80.0060.01519.39
7.4.70.0100.00616.50
7.4.60.0140.00316.59
7.4.50.0000.00416.58
7.4.40.0070.01316.27
7.4.30.0060.01216.65
7.4.00.0030.01315.04
7.3.330.0000.00513.06
7.3.320.0000.00613.10
7.3.310.0040.00416.19
7.3.300.0000.00616.24
7.3.290.0030.01416.14
7.3.280.0050.01216.21
7.3.270.0030.01417.40
7.3.260.0060.01316.30
7.3.250.0070.01216.36
7.3.240.0060.01016.45
7.3.230.0070.01016.39
7.3.210.0090.00916.44
7.3.200.0090.00619.39
7.3.190.0110.00916.17
7.3.180.0050.01116.19
7.3.170.0050.01116.52
7.3.160.0000.01616.24
7.3.120.0110.00714.79
7.3.110.0070.01014.83
7.3.100.0070.00814.88
7.3.90.0140.00414.77
7.3.80.0040.00814.76
7.3.70.0030.01414.57
7.3.60.0090.00614.71
7.3.50.0000.01514.86
7.3.40.0060.00314.84
7.3.30.0040.01114.88
7.3.20.0120.00316.66
7.3.10.0130.00016.52
7.3.00.0040.01116.47
7.2.330.0120.00616.75
7.2.320.0070.01016.41
7.2.310.0130.00316.64
7.2.300.0060.01016.35
7.2.290.0070.01116.57
7.2.250.0060.01314.76
7.2.240.0030.01615.06
7.2.230.0100.00314.95
7.2.220.0070.01014.81
7.2.210.0090.00614.77
7.2.200.0080.00814.95
7.2.190.0060.00614.94
7.2.180.0040.01114.98
7.2.170.0040.00714.71
7.2.60.0120.00316.56
7.2.00.0130.00019.03
7.1.330.0070.00715.50
7.1.320.0030.01115.69
7.1.310.0040.00715.37
7.1.300.0120.00315.43
7.1.290.0070.00715.39
7.1.280.0080.00415.80
7.1.270.0030.00615.40
7.1.260.0070.00715.87
7.1.200.0100.00315.75
7.1.100.0040.01217.98
7.1.70.0050.00217.22
7.1.60.0120.01219.40
7.1.50.0140.01116.83
7.1.00.0030.07722.40
7.0.200.0030.00616.36
7.0.140.0000.07722.00
7.0.60.0070.08321.74
7.0.50.0030.08717.83
7.0.40.0000.04720.27
7.0.30.0270.05020.26
7.0.20.0230.06020.16
7.0.10.0070.08020.10
7.0.00.0130.07720.32
5.6.280.0070.07021.04
5.6.210.0130.07320.71
5.6.200.0130.06318.19
5.6.190.0000.07320.50
5.6.180.0470.06720.61
5.6.170.0370.07720.48
5.6.160.0070.07020.70
5.6.150.0030.05718.15
5.6.140.0000.08718.17
5.6.130.0030.07318.19
5.6.120.0100.06720.98
5.6.110.0000.04720.99
5.6.100.0200.07020.89
5.6.90.0070.06021.00
5.6.80.0130.07020.33
5.5.350.0070.07720.45
5.5.340.0030.05717.99
5.5.330.0130.07020.35
5.5.320.0200.04020.38
5.5.310.0330.07020.37
5.5.300.0070.03318.08
5.5.290.0000.04717.95
5.5.280.0100.08020.73
5.5.270.0000.04320.65
5.5.260.0030.05320.87
5.5.250.0000.08320.55
5.5.240.0200.04720.04
5.4.450.0100.03319.48
5.4.440.0030.04019.20
5.4.430.0100.03719.47
5.4.420.0000.04019.49
5.4.410.0030.03719.05
5.4.400.0000.04018.87
5.4.390.0070.03319.00
5.4.380.0030.03718.87
5.4.370.0070.03318.86
5.4.360.0070.03318.85
5.4.350.0070.03319.20
5.4.340.0030.04719.12
5.4.320.0100.03319.24
5.4.310.0030.03719.24
5.4.300.0030.05719.15
5.4.290.0070.06019.24
5.4.280.0030.05719.14
5.4.270.0070.08019.24
5.4.260.0130.07318.85
5.4.250.0100.07318.91
5.4.240.0030.04719.20
5.4.230.0000.07019.23
5.4.220.0100.05718.84
5.4.210.0030.08018.84
5.4.200.0070.07719.24
5.4.190.0030.06719.23
5.4.180.0100.08019.07
5.4.170.0000.04318.99
5.4.160.0070.06719.18
5.4.150.0070.06019.13
5.4.140.0070.06316.59
5.4.130.0100.06016.39
5.4.120.0070.06016.41
5.4.110.0030.07716.32
5.4.100.0100.07016.48
5.4.90.0200.03716.47
5.4.80.0100.07016.45
5.4.70.0100.05716.41
5.4.60.0100.07016.37
5.4.50.0100.08016.46
5.4.40.0030.05016.40
5.4.30.0030.03716.25
5.4.20.0070.07016.39
5.4.10.0000.05016.25
5.4.00.0030.06715.75
5.3.290.0000.04714.70
5.3.280.0030.08014.63
5.3.270.0000.04314.64
5.3.260.0070.08014.53
5.3.250.0070.06314.61
5.3.240.0000.07714.66
5.3.230.0070.05014.75
5.3.220.0030.05314.49
5.3.210.0070.07014.73
5.3.200.0070.07714.49
5.3.190.0100.06314.61
5.3.180.0000.05314.59
5.3.170.0000.08314.59
5.3.160.0000.06314.64
5.3.150.0100.06314.58
5.3.140.0200.05014.57
5.3.130.0100.07714.61
5.3.120.0130.07014.57
5.3.110.0070.07014.71
5.3.100.0030.04314.09
5.3.90.0070.07313.91
5.3.80.0030.05314.19
5.3.70.0100.06014.02
5.3.60.0100.07014.08
5.3.50.0030.06013.84
5.3.40.0030.04013.92
5.3.30.0000.04713.93
5.3.20.0070.03313.58
5.3.10.0100.07013.67
5.3.00.0200.05313.59
5.2.170.0000.03311.14
5.2.160.0070.03011.14
5.2.150.0070.02711.31
5.2.140.0030.03011.15
5.2.130.0070.02711.25
5.2.120.0100.02311.26
5.2.110.0000.07011.25
5.2.100.0100.02311.02
5.2.90.0100.02311.18
5.2.80.0030.03011.10
5.2.70.0070.03311.02
5.2.60.0070.03011.12
5.2.50.0070.06011.07
5.2.40.0070.03010.96
5.2.30.0030.04010.89
5.2.20.0070.03311.04
5.2.10.0000.05010.82
5.2.00.0070.05710.73
5.1.60.0030.03710.15
5.1.50.0030.03310.06
5.1.40.0070.02710.00
5.1.30.0030.05710.36
5.1.20.0100.05310.32
5.1.10.0000.02710.13
5.1.00.0030.02310.13
5.0.50.0000.0438.45
5.0.40.0030.0478.43
5.0.30.0000.0608.20
5.0.20.0030.0378.22
5.0.10.0100.0378.22
5.0.00.0000.0638.07
4.4.90.0000.0177.49
4.4.80.0000.0177.49
4.4.70.0000.0307.49
4.4.60.0030.0337.49
4.4.50.0070.0277.49
4.4.40.0070.0507.49
4.4.30.0000.0337.49
4.4.20.0000.0177.49
4.4.10.0030.0307.49
4.4.00.0000.0537.49
4.3.110.0000.0177.49
4.3.100.0070.0237.49
4.3.90.0000.0307.49
4.3.80.0000.0377.49
4.3.70.0030.0237.49
4.3.60.0000.0377.49
4.3.50.0030.0277.49
4.3.40.0000.0237.49
4.3.30.0000.0207.49
4.3.20.0030.0337.49
4.3.10.0030.0207.49
4.3.00.0030.0307.49

preferences:
40.43 ms | 400 KiB | 5 Q