3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Test { public function test(); } class TestImplementation implements Test { public function test($a) { } }

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.0030.01218.36
8.3.60.0150.00318.64
8.3.50.0050.01221.97
8.3.40.0040.01118.75
8.3.30.0070.01018.96
8.3.20.0000.00720.34
8.3.10.0040.00421.92
8.3.00.0040.00422.40
8.2.190.0100.01016.58
8.2.180.0130.00716.38
8.2.170.0140.00022.96
8.2.160.0130.00020.32
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00726.16
8.2.120.0040.00419.36
8.2.110.0060.00322.08
8.2.100.0080.00417.84
8.2.90.0060.00319.22
8.2.80.0030.00519.49
8.2.70.0000.00917.50
8.2.60.0050.00317.91
8.2.50.0030.00518.07
8.2.40.0040.00418.09
8.2.30.0000.00717.98
8.2.20.0040.00417.57
8.2.10.0080.00019.34
8.2.00.0000.00717.60
8.1.280.0060.00925.92
8.1.270.0080.00022.00
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.96
8.1.230.0080.00419.01
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0090.00017.23
8.1.190.0060.00317.41
8.1.180.0000.00818.10
8.1.170.0050.00318.57
8.1.160.0040.00422.00
8.1.150.0060.00318.58
8.1.140.0080.00017.24
8.1.130.0040.00417.76
8.1.120.0000.00717.43
8.1.110.0040.00417.39
8.1.100.0000.00717.40
8.1.90.0040.00417.39
8.1.80.0070.00017.45
8.1.70.0000.00717.27
8.1.60.0080.00417.58
8.1.50.0040.00417.49
8.1.40.0040.00417.37
8.1.30.0050.00217.55
8.1.20.0030.00517.43
8.1.10.0040.00417.27
8.1.00.0040.00417.31
8.0.300.0000.00818.77
8.0.290.0030.00317.18
8.0.280.0070.00018.26
8.0.270.0000.00717.04
8.0.260.0000.00716.80
8.0.250.0000.00716.95
8.0.240.0090.00016.95
8.0.230.0030.00316.88
8.0.220.0030.00316.82
8.0.210.0030.00616.95
8.0.200.0030.00316.87
8.0.190.0030.00316.81
8.0.180.0000.00716.89
8.0.170.0050.00216.83
8.0.160.0000.00816.76
8.0.150.0030.00316.79
8.0.140.0000.00716.84
8.0.130.0000.00513.32
8.0.120.0040.00416.71
8.0.110.0000.00816.92
8.0.100.0000.00716.76
8.0.90.0030.00316.89
8.0.80.0110.00416.90
8.0.70.0040.00416.83
8.0.60.0040.00416.93
8.0.50.0040.00416.92
8.0.30.0120.00817.02
8.0.20.0150.00317.40
8.0.10.0000.00716.95
8.0.00.0110.00916.62
7.4.330.0050.00015.07
7.4.320.0060.00016.48
7.4.300.0060.00016.36
7.4.290.0030.00516.43
7.4.280.0070.00016.44
7.4.270.0040.00416.52
7.4.260.0000.00716.44
7.4.250.0040.00416.42
7.4.240.0020.00516.53
7.4.230.0000.00716.62
7.4.220.0070.01016.52
7.4.210.0050.01016.55
7.4.200.0060.00016.55
7.4.190.0040.00416.38
7.4.160.0100.00616.36
7.4.150.0040.01517.40
7.4.140.0120.00517.86
7.4.130.0070.01016.55
7.4.120.0120.00516.66
7.4.110.0100.00716.39
7.4.100.0170.00316.37
7.4.90.0120.00416.45
7.4.80.0090.01219.39
7.4.70.0070.01416.38
7.4.60.0030.01316.34
7.4.50.0060.00316.21
7.4.40.0100.00722.77
7.4.30.0110.00416.23
7.4.00.0060.01014.56
7.3.330.0030.00313.25
7.3.320.0000.00613.08
7.3.310.0030.00316.21
7.3.300.0030.00316.23
7.3.290.0060.00916.25
7.3.280.0110.00616.26
7.3.270.0030.01517.40
7.3.260.0100.01316.51
7.3.250.0130.00716.39
7.3.240.0030.01316.30
7.3.230.0130.01016.39
7.3.210.0100.01016.20
7.3.200.0100.00719.39
7.3.190.0090.01316.31
7.3.180.0100.00716.29
7.3.170.0070.01016.39
7.3.160.0090.00616.31
7.3.120.0040.00414.75
7.3.10.0060.00316.39
7.3.00.0060.00616.55
7.2.330.0070.01016.30
7.2.320.0160.00716.68
7.2.310.0030.01916.30
7.2.300.0180.00416.32
7.2.290.0080.00816.20
7.2.130.0030.00916.83
7.2.120.0030.01016.80
7.2.110.0110.00416.75
7.2.100.0000.01116.88
7.2.90.0070.00516.91
7.2.80.0140.00016.51
7.2.70.0040.00716.64
7.2.60.0050.01116.69
7.2.50.0000.01216.83
7.2.40.0100.00016.86
7.2.30.0040.01116.81
7.2.20.0030.00916.66
7.2.10.0060.00616.78
7.2.00.0030.00818.16
7.1.250.0080.00015.68
7.1.200.0040.01115.44
7.1.70.0030.01017.19
7.1.60.0000.01117.22
7.1.50.0080.00416.83
7.1.00.0100.07022.31
7.0.200.0000.01816.62
7.0.140.0030.07322.04
7.0.60.0130.03319.84
7.0.50.0070.08017.86
7.0.40.0070.04020.10
7.0.30.0230.04020.07
7.0.20.0230.05020.33
7.0.10.0300.08320.05
7.0.00.0070.08320.07
5.6.280.0000.07721.02
5.6.210.0070.07020.64
5.6.200.0170.04718.16
5.6.190.0130.08020.34
5.6.180.3770.03720.39
5.6.170.0300.05720.52
5.6.160.0000.06720.55
5.6.150.0100.04718.29
5.6.140.0100.05018.17
5.6.130.0000.05318.11
5.6.120.0000.07320.90
5.6.110.0030.09021.11
5.6.100.0000.06320.98
5.6.90.0200.07720.98
5.6.80.0200.04020.53
5.5.350.0270.07020.30
5.5.340.0100.03717.96
5.5.330.0070.05320.27
5.5.320.0270.06020.38
5.5.310.0330.07720.41
5.5.300.0070.05317.95
5.5.290.0100.08018.08
5.5.280.0100.04320.89
5.5.270.0070.08020.84
5.5.260.0000.09720.73
5.5.250.0030.05320.58
5.5.240.0230.07020.26
5.4.450.0600.05319.13
5.4.440.0830.05319.12
5.4.430.0170.04719.32
5.4.420.0200.05319.56
5.4.410.0070.05719.44
5.4.400.0970.00018.79
5.4.390.1200.00018.75
5.4.380.0230.05318.57
5.4.370.0070.06018.63
5.4.360.0300.04018.56
5.4.350.0330.04318.83
5.4.340.0230.05018.50
5.4.320.0090.03312.50
5.4.310.0110.03712.50
5.4.300.0080.03812.50
5.4.290.0080.04312.50
5.4.280.0050.03612.39
5.4.270.0070.05719.09
5.4.260.0030.05718.98
5.4.250.0070.08019.09
5.4.240.0030.05718.94
5.4.230.0170.05018.83
5.4.220.0230.06318.79
5.4.210.0130.07319.09
5.4.200.0030.06018.83
5.4.190.0030.05718.98
5.4.180.0130.07718.73
5.4.170.0070.07718.89
5.4.160.0100.06718.94
5.4.150.0130.05018.95
5.4.140.0170.05016.51
5.4.130.0200.06016.36
5.4.120.0070.06016.59
5.4.110.0100.06016.49
5.4.100.0100.06316.39
5.4.90.0100.05016.62
5.4.80.0070.06316.55
5.4.70.0170.06716.44
5.4.60.0230.06316.44
5.4.50.0100.05016.52
5.4.40.0100.05016.38
5.4.30.0170.05016.48
5.4.20.0070.05016.37
5.4.10.0230.03716.52
5.4.00.0170.04016.00
5.3.290.0070.04112.80
5.3.280.0100.05014.75
5.3.270.0100.06314.70
5.3.260.0100.07014.82
5.3.250.0070.05014.78
5.3.240.0030.06014.61
5.3.230.0030.06314.76
5.3.220.0170.04714.47
5.3.210.0030.08714.39
5.3.200.0070.06714.55
5.3.190.0070.07314.54
5.3.180.0170.07014.55
5.3.170.0070.08014.58
5.3.160.0000.06014.70
5.3.150.0130.05314.64
5.3.140.0100.07314.52
5.3.130.0070.06314.57
5.3.120.0030.06014.65
5.3.110.0100.08014.55
5.3.100.0170.05014.02
5.3.90.0070.06014.04
5.3.80.0100.06714.01
5.3.70.0070.05013.85
5.3.60.0100.06013.99
5.3.50.0030.05313.78
5.3.40.0100.08014.13
5.3.30.0100.06013.98
5.3.20.0200.05713.87
5.3.10.0130.06713.71
5.3.00.0100.06313.69
5.2.170.0100.04010.98
5.2.160.0030.05311.21
5.2.150.0070.04311.10
5.2.140.0230.03011.21
5.2.130.0070.04311.08
5.2.120.0100.05711.17
5.2.110.0070.05311.18
5.2.100.0030.04311.08
5.2.90.0230.04311.16
5.2.80.0070.05011.15
5.2.70.0100.05010.92
5.2.60.0070.04711.20
5.2.50.0070.04711.07
5.2.40.0070.05311.06
5.2.30.0130.04011.18
5.2.20.0030.05310.86
5.2.10.0070.05010.81
5.2.00.0130.04310.68
5.1.60.0030.03710.04
5.1.50.0100.04310.09
5.1.40.0070.04010.13
5.1.30.0100.03310.28
5.1.20.0070.05010.26
5.1.10.0100.03010.04
5.1.00.0070.03710.09
5.0.50.0030.0338.51
5.0.40.0070.0338.64
5.0.30.0030.0438.14
5.0.20.0030.0278.14
5.0.10.0030.0378.14
5.0.00.0130.0408.25
4.4.90.0030.0236.45
4.4.80.0030.0206.45
4.4.70.0000.0236.45
4.4.60.0030.0236.45
4.4.50.0030.0306.45
4.4.40.0030.0476.45
4.4.30.0030.0306.45
4.4.20.0000.0306.45
4.4.10.0030.0236.45
4.4.00.0030.0336.45
4.3.110.0000.0306.45
4.3.100.0100.0236.45
4.3.90.0000.0276.45
4.3.80.0000.0476.45
4.3.70.0000.0236.45
4.3.60.0130.0206.45
4.3.50.0030.0306.45
4.3.40.0000.0376.45
4.3.30.0070.0206.45
4.3.20.0000.0236.45
4.3.10.0000.0306.45
4.3.00.0130.0236.11

preferences:
49.33 ms | 401 KiB | 5 Q