3v4l.org

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

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.0060.00918.28
8.3.60.0140.00418.43
8.3.50.0130.00721.92
8.3.40.0070.00718.78
8.3.30.0040.01118.88
8.3.20.0040.00420.34
8.3.10.0050.00322.04
8.3.00.0070.00022.45
8.2.190.0110.00716.63
8.2.180.0070.01016.75
8.2.170.0140.00722.96
8.2.160.0100.00320.29
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0140.00026.16
8.2.120.0040.00419.48
8.2.110.0050.00322.14
8.2.100.0000.01119.64
8.2.90.0000.00719.09
8.2.80.0000.00819.66
8.2.70.0030.00617.75
8.2.60.0000.00818.04
8.2.50.0030.00518.07
8.2.40.0030.00618.03
8.2.30.0070.00017.99
8.2.20.0040.00417.52
8.2.10.0000.00819.51
8.2.00.0000.00717.66
8.1.280.0110.00425.92
8.1.270.0040.00421.89
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0000.00823.79
8.1.230.0120.00019.16
8.1.220.0050.00317.74
8.1.210.0050.00318.77
8.1.200.0060.00317.23
8.1.190.0000.00817.29
8.1.180.0060.00318.10
8.1.170.0040.00418.59
8.1.160.0000.00821.94
8.1.150.0000.00718.61
8.1.140.0040.00417.38
8.1.130.0030.00617.64
8.1.120.0030.00317.35
8.1.110.0000.00717.36
8.1.100.0030.00417.28
8.1.90.0030.00617.39
8.1.80.0030.00317.36
8.1.70.0070.00017.38
8.1.60.0050.00517.53
8.1.50.0040.00417.45
8.1.40.0030.00617.46
8.1.30.0040.00417.48
8.1.20.0000.00817.55
8.1.10.0000.00717.39
8.1.00.0040.00417.32
8.0.300.0050.00218.77
8.0.290.0070.00017.18
8.0.280.0030.00318.30
8.0.270.0030.00317.10
8.0.260.0000.00716.71
8.0.250.0000.00716.86
8.0.240.0000.01016.96
8.0.230.0070.00016.96
8.0.220.0070.00016.89
8.0.210.0000.00916.77
8.0.200.0070.00016.86
8.0.190.0040.00416.99
8.0.180.0030.00416.84
8.0.170.0040.00416.96
8.0.160.0070.00016.80
8.0.150.0080.00016.89
8.0.140.0070.00016.85
8.0.130.0000.00513.28
8.0.120.0050.00216.78
8.0.110.0030.00616.89
8.0.100.0040.00316.71
8.0.90.0040.00416.78
8.0.80.0120.00316.84
8.0.70.0000.00717.00
8.0.60.0000.00716.78
8.0.50.0070.00016.92
8.0.30.0110.01017.12
8.0.20.0120.00717.40
8.0.10.0040.00416.86
8.0.00.0120.00616.69
7.4.330.0000.00515.00
7.4.320.0060.00016.46
7.4.300.0000.00616.57
7.4.290.0000.00716.54
7.4.280.0000.00716.28
7.4.270.0050.00216.39
7.4.260.0050.00316.56
7.4.250.0070.00016.39
7.4.240.0050.00316.49
7.4.230.0030.00316.29
7.4.220.0100.00716.46
7.4.210.0040.01216.46
7.4.200.0050.00216.35
7.4.190.0080.00016.50
7.4.160.0110.00516.50
7.4.150.0110.00717.40
7.4.140.0100.00717.86
7.4.130.0090.00816.39
7.4.120.0120.00716.47
7.4.110.0070.01016.36
7.4.100.0150.00616.43
7.4.90.0100.00716.41
7.4.80.0160.00719.39
7.4.70.0060.01016.46
7.4.60.0060.00916.50
7.4.50.0030.00616.15
7.4.40.0000.01422.77
7.4.30.0040.01216.58
7.4.00.0030.01414.71
7.3.330.0000.00613.30
7.3.320.0060.00013.20
7.3.310.0070.00016.06
7.3.300.0040.00416.14
7.3.290.0130.00616.25
7.3.280.0100.00816.23
7.3.270.0030.01317.40
7.3.260.0180.00016.21
7.3.250.0090.00816.37
7.3.240.0130.01016.28
7.3.230.0000.01616.39
7.3.210.0040.01516.18
7.3.200.0030.01319.39
7.3.190.0140.00616.17
7.3.180.0070.01016.40
7.3.170.0030.01316.27
7.3.160.0150.00016.48
7.3.120.0030.01314.61
7.3.110.0090.00914.88
7.3.100.0000.01514.34
7.3.90.0030.01014.79
7.3.80.0070.00714.87
7.3.70.0100.00314.56
7.3.60.0090.00914.83
7.3.50.0090.00614.71
7.3.40.0070.00714.83
7.3.30.0030.00914.40
7.3.20.0030.01316.58
7.3.10.0050.00616.46
7.3.00.0070.00516.53
7.2.330.0100.00716.46
7.2.320.0150.00916.30
7.2.310.0130.00316.31
7.2.300.0130.00716.46
7.2.290.0030.01516.27
7.2.250.0060.01315.07
7.2.240.0070.01015.11
7.2.230.0030.01014.64
7.2.220.0090.00614.63
7.2.210.0030.01314.88
7.2.200.0100.00315.05
7.2.190.0070.01114.91
7.2.180.0030.00614.78
7.2.170.0000.01015.00
7.2.130.0080.00716.51
7.2.120.0070.00716.64
7.2.110.0040.01116.56
7.2.100.0070.00616.59
7.2.90.0090.00216.51
7.2.80.0120.00716.58
7.2.70.0120.00616.63
7.2.60.0130.00516.28
7.2.50.0110.00816.65
7.2.40.0090.00916.72
7.2.30.0100.00716.73
7.2.20.0140.00516.67
7.2.10.0060.00616.59
7.2.00.0070.00817.29
7.1.330.0120.00315.83
7.1.320.0030.00615.58
7.1.310.0080.00615.75
7.1.300.0060.01015.27
7.1.290.0060.00315.61
7.1.280.0100.00315.64
7.1.270.0150.00015.66
7.1.260.0070.00315.35
7.1.250.0060.00715.29
7.1.200.0030.00615.70
7.1.100.0000.01217.82
7.1.70.0000.00817.00
7.1.60.0090.01519.82
7.1.50.0100.01016.70
7.1.00.0070.07022.30
7.0.200.0060.00616.41
7.0.140.0000.07321.99
7.0.60.0030.04319.86
7.0.50.0000.04317.87
7.0.40.0030.04320.18
7.0.30.0530.06320.25
7.0.20.0330.07720.23
7.0.10.0130.08320.19
7.0.00.0030.08720.16
5.6.280.0100.06320.82
5.6.210.0100.08020.50
5.6.200.0170.06718.29
5.6.190.0000.08320.41
5.6.180.2300.04020.34
5.6.170.0270.07320.39
5.6.160.0070.07020.71
5.6.150.0100.03718.29
5.6.140.0030.07718.17
5.6.130.0100.04718.18
5.6.120.0030.04721.15
5.6.110.0130.03321.01
5.6.100.0170.07320.96
5.6.90.0070.04321.10
5.6.80.0000.06020.52
5.5.350.0330.03720.41
5.5.340.0030.08018.02
5.5.330.0070.05020.43
5.5.320.0330.07320.34
5.5.310.0300.04320.34
5.5.300.0100.07717.98
5.5.290.0070.03717.92
5.5.280.0030.04720.96
5.5.270.0100.08020.87
5.5.260.0300.06320.76
5.5.250.0170.04320.69
5.5.240.3870.04320.36
5.4.450.0700.07719.47
5.4.440.0830.06319.34
5.4.430.0370.06719.63
5.4.420.0130.06719.19
5.4.410.0070.05319.46
5.4.400.0270.05718.81
5.4.390.0330.04718.56
5.4.380.0270.04718.84
5.4.370.0300.03718.80
5.4.360.0330.03018.63
5.4.350.0060.03712.02
5.4.340.0060.04012.02
5.4.320.0080.03612.50
5.4.310.0060.04512.50
5.4.300.0100.03612.50
5.4.290.0060.04112.50
5.4.280.0060.03412.39
5.4.270.0130.07018.83
5.4.260.0200.05018.68
5.4.250.0100.05318.79
5.4.240.0170.05018.92
5.4.230.0100.05018.68
5.4.220.0230.05718.87
5.4.210.0130.07318.97
5.4.200.0130.07318.88
5.4.190.0170.05718.92
5.4.180.0100.05318.72
5.4.170.0230.05018.61
5.4.160.0030.06018.78
5.4.150.0130.06318.91
5.4.140.0030.06716.47
5.4.130.0130.07016.39
5.4.120.0170.06016.34
5.4.110.0100.05716.40
5.4.100.0170.05016.40
5.4.90.0370.07716.47
5.4.80.0170.04716.50
5.4.70.0100.07316.47
5.4.60.0000.05716.47
5.4.50.0170.04316.29
5.4.40.0200.04716.59
5.4.30.0130.04316.47
5.4.20.0130.07016.58
5.4.10.0200.05716.48
5.4.00.0170.06315.71
5.3.290.0110.04312.80
5.3.280.0130.05714.60
5.3.270.0100.07014.76
5.3.260.0100.05314.73
5.3.250.0130.05314.66
5.3.240.0170.06714.51
5.3.230.0170.05014.57
5.3.220.0070.05314.57
5.3.210.0100.07714.47
5.3.200.0100.05714.55
5.3.190.0100.07014.63
5.3.180.0130.04314.65
5.3.170.0200.04714.79
5.3.160.0130.05714.55
5.3.150.0200.04714.39
5.3.140.0100.06714.54
5.3.130.0170.04714.65
5.3.120.0200.04714.77
5.3.110.0100.05314.38
5.3.100.0070.07714.02
5.3.90.0170.05014.23
5.3.80.0070.05714.18
5.3.70.0200.05314.01
5.3.60.0100.04713.97
5.3.50.0200.05713.93
5.3.40.0100.06313.95
5.3.30.0100.06313.99
5.3.20.0130.06713.60
5.3.10.0100.05313.66
5.3.00.0100.06313.72
5.2.170.0070.04311.12
5.2.160.0170.05011.37
5.2.150.0130.05711.23
5.2.140.0070.06711.21
5.2.130.0070.04011.19
5.2.120.0070.05311.09
5.2.110.0100.03711.07
5.2.100.0070.04711.18
5.2.90.0130.04711.16
5.2.80.0130.03311.12
5.2.70.0100.05310.99
5.2.60.0100.03711.01
5.2.50.0070.05011.01
5.2.40.0100.03311.17
5.2.30.0070.05311.05
5.2.20.0030.04311.03
5.2.10.0070.04310.93
5.2.00.0070.05310.80
5.1.60.0030.0339.97
5.1.50.0000.04710.05
5.1.40.0070.03310.07
5.1.30.0070.04010.49
5.1.20.0030.03710.53
5.1.10.0030.03710.04
5.1.00.0100.05010.22
5.0.50.0070.0278.51
5.0.40.0100.0278.45
5.0.30.0100.0508.26
5.0.20.0100.0278.28
5.0.10.0030.0278.41
5.0.00.0100.0408.22
4.4.90.0030.0236.45
4.4.80.0130.0176.45
4.4.70.0070.0236.45
4.4.60.0030.0236.45
4.4.50.0030.0236.45
4.4.40.0000.0376.45
4.4.30.0000.0276.45
4.4.20.0070.0236.45
4.4.10.0030.0306.45
4.4.00.0100.0376.45
4.3.110.0100.0206.45
4.3.100.0100.0136.45
4.3.90.0030.0206.45
4.3.80.0030.0436.45
4.3.70.0100.0236.45
4.3.60.0100.0176.45
4.3.50.0100.0176.45
4.3.40.0100.0406.45
4.3.30.0000.0306.45
4.3.20.0100.0136.45
4.3.10.0030.0276.45
4.3.00.0100.0207.41

preferences:
161.99 ms | 401 KiB | 5 Q