3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Testable { function getName(); } class Test implements Testable { public function getName() { } }

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.40.0040.01118.61
8.3.30.0090.00618.51
8.3.20.0000.00818.48
8.3.10.0080.00020.45
8.3.00.0080.00019.00
8.2.170.0190.00322.96
8.2.160.0100.00320.95
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0080.00019.48
8.2.110.0100.01019.27
8.2.100.0110.00017.59
8.2.90.0030.00617.78
8.2.80.0050.00317.97
8.2.70.0040.00417.63
8.2.60.0030.00617.55
8.2.50.0000.00718.07
8.2.40.0040.00418.09
8.2.30.0060.00317.89
8.2.20.0000.00717.51
8.2.10.0000.00717.51
8.2.00.0050.00317.60
8.1.270.0090.00024.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.01322.03
8.1.230.0100.00020.98
8.1.220.0060.00317.74
8.1.210.0080.00018.91
8.1.200.0060.00317.23
8.1.190.0030.00617.54
8.1.180.0080.00018.10
8.1.170.0080.00018.75
8.1.160.0070.00018.81
8.1.150.0040.00418.61
8.1.140.0040.00417.38
8.1.130.0070.00017.79
8.1.120.0000.00717.31
8.1.110.0070.00017.32
8.1.100.0000.00717.40
8.1.90.0060.00317.34
8.1.80.0080.00017.34
8.1.70.0040.00417.36
8.1.60.0060.00317.54
8.1.50.0050.00217.42
8.1.40.0040.00417.46
8.1.30.0000.00717.46
8.1.20.0020.00517.57
8.1.10.0040.00417.35
8.1.00.0000.00717.28
8.0.300.0050.00219.91
8.0.290.0070.00016.75
8.0.280.0040.00418.35
8.0.270.0000.00617.09
8.0.260.0030.00316.74
8.0.250.0000.00816.82
8.0.240.0070.00316.85
8.0.230.0000.00716.77
8.0.220.0000.00716.72
8.0.210.0000.00716.81
8.0.200.0070.00016.86
8.0.190.0040.00416.85
8.0.180.0040.00416.72
8.0.170.0060.00316.79
8.0.160.0080.00016.80
8.0.150.0050.00516.89
8.0.140.0040.00416.73
8.0.130.0030.00313.34
8.0.120.0040.00416.78
8.0.110.0040.00416.81
8.0.100.0000.00716.84
8.0.90.0040.00416.70
8.0.80.0060.01016.88
8.0.70.0080.00016.69
8.0.60.0040.00416.77
8.0.50.0000.00716.88
8.0.30.0100.00916.98
8.0.20.0160.00317.05
8.0.10.0050.00216.83
8.0.00.0060.01116.59
7.4.330.0020.00212.94
7.4.320.0030.00316.49
7.4.300.0000.00716.34
7.4.290.0000.00716.52
7.4.280.0000.00816.56
7.4.270.0000.00616.36
7.4.260.0060.00013.22
7.4.250.0090.00016.32
7.4.240.0000.00716.40
7.4.230.0030.00316.36
7.4.220.0140.00616.48
7.4.210.0090.00816.41
7.4.200.0070.00016.22
7.4.190.0070.00016.59
7.4.160.0100.00716.18
7.4.150.0130.00316.43
7.4.140.0030.01416.46
7.4.130.0090.00816.38
7.4.120.0110.00816.30
7.4.110.0030.01416.48
7.4.100.0100.00716.50
7.4.90.0140.00316.46
7.4.80.0150.00316.40
7.4.70.0060.01616.07
7.4.60.0180.00016.31
7.4.50.0060.00316.38
7.4.40.0000.01516.11
7.4.30.0030.01316.45
7.4.00.0090.00814.81
7.3.330.0000.00613.16
7.3.320.0000.00613.03
7.3.310.0000.00716.16
7.3.300.0040.00416.12
7.3.290.0040.01116.13
7.3.280.0070.00916.12
7.3.270.0200.00316.24
7.3.260.0100.01116.38
7.3.250.0110.00816.21
7.3.240.0060.00916.20
7.3.230.0120.00316.44
7.3.210.0100.00616.38
7.3.200.0170.00319.39
7.3.190.0120.00916.39
7.3.180.0090.01016.29
7.3.170.0100.00616.34
7.3.160.0060.01016.32
7.3.120.0030.01414.79
7.3.110.0110.00714.41
7.3.100.0000.01314.66
7.3.90.0040.00914.44
7.3.80.0060.01114.84
7.3.70.0100.00714.44
7.3.60.0070.00714.70
7.3.50.0030.01014.66
7.3.40.0040.01114.76
7.3.30.0060.00914.66
7.3.20.0080.00416.46
7.3.10.0080.00316.66
7.3.00.0130.00016.39
7.2.330.0110.00716.58
7.2.320.0060.01516.38
7.2.310.0070.01616.31
7.2.300.0140.00816.63
7.2.290.0060.01016.71
7.2.250.0090.00914.79
7.2.240.0000.01914.80
7.2.230.0120.00014.99
7.2.220.0080.00614.81
7.2.210.0060.01314.68
7.2.200.0070.00715.07
7.2.190.0040.00814.88
7.2.180.0040.01114.69
7.2.170.0060.01014.57
7.2.00.0040.01419.09
7.1.330.0070.00715.59
7.1.320.0040.00815.41
7.1.310.0070.00315.57
7.1.300.0030.00515.56
7.1.290.0040.00815.54
7.1.280.0060.00915.71
7.1.270.0040.00715.71
7.1.260.0080.00415.69
7.1.100.0030.00718.07
7.1.70.0060.00917.01
7.1.60.0110.01419.40
7.1.50.0140.01434.56
7.1.00.0030.03322.44
7.0.200.0470.00914.72
7.0.140.0000.07721.98
7.0.120.0100.05722.24
7.0.60.0100.07320.03
7.0.50.0100.04017.88
7.0.40.0000.05720.24
7.0.30.0230.08020.25
7.0.20.0200.04320.23
7.0.10.0100.08320.10
7.0.00.0000.04320.12
5.6.280.0100.06721.10
5.6.210.0170.06720.48
5.6.200.0000.06018.29
5.6.190.0100.08020.62
5.6.180.0170.05020.48
5.6.170.0370.07720.40
5.6.160.0130.07320.47
5.6.150.0030.06018.23
5.6.140.0130.06018.17
5.6.130.0070.03718.14
5.6.120.0030.07020.97
5.6.110.0100.05320.89
5.6.100.0130.08020.96
5.6.90.0070.05320.95
5.6.80.0100.07720.39
5.5.350.0270.07320.46
5.5.340.0030.09017.99
5.5.330.0030.09020.44
5.5.320.0270.06020.31
5.5.310.0270.08020.34
5.5.300.0070.03717.98
5.5.290.0100.08717.97
5.5.280.0030.04320.80
5.5.270.0030.05020.87
5.5.260.0030.06320.64
5.5.250.0070.04720.69
5.5.240.0100.02720.15
5.4.450.0030.06019.57
5.4.440.0070.03719.20
5.4.430.0100.05719.50
5.4.420.0100.04019.18
5.4.410.0000.05319.28
5.4.400.0070.04019.15
5.4.390.0030.04719.15
5.4.380.0070.05718.98
5.4.370.0070.04018.86
5.4.360.0030.06018.98
5.4.350.0100.03718.93
5.4.340.0070.05719.24
5.4.320.0100.06019.14
5.4.310.0000.07019.24
5.4.300.0030.07018.84
5.4.290.0100.04018.94
5.4.280.0070.03719.24
5.4.270.0030.07319.11
5.4.260.0100.07018.87
5.4.250.0170.06319.14
5.4.240.0130.07018.83
5.4.230.0070.06319.14
5.4.220.0100.03318.97
5.4.210.0070.03718.87
5.4.200.0000.04318.97
5.4.190.0030.03719.20
5.4.180.0030.03718.99
5.4.170.0000.04019.13
5.4.160.0000.04019.14
5.4.150.0030.03719.21
5.4.140.0030.03316.41
5.4.130.0070.03016.50
5.4.120.0070.03316.39
5.4.110.0030.03716.30
5.4.100.0030.03316.30
5.4.90.0100.03316.47
5.4.80.0000.03716.39
5.4.70.0030.03716.39
5.4.60.0030.03316.36
5.4.50.0000.03716.35
5.4.40.0030.03316.36
5.4.30.0030.03316.36
5.4.20.0070.05716.27
5.4.10.0000.04016.23
5.4.00.0070.03315.94
5.3.290.0030.04014.81
5.3.280.0000.08714.63
5.3.270.0130.02714.49
5.3.260.0000.04014.66
5.3.250.0000.04014.66
5.3.240.0000.04014.64
5.3.230.0000.04014.54
5.3.220.0030.03314.57
5.3.210.0030.03714.63
5.3.200.0030.03714.59
5.3.190.0000.04014.72
5.3.180.0030.03714.48
5.3.170.0030.03714.58
5.3.160.0000.03714.61
5.3.150.0000.04714.55
5.3.140.0000.04014.59
5.3.130.0030.03714.58
5.3.120.0100.03714.58
5.3.110.0000.04014.61
5.3.100.0000.03714.04
5.3.90.0030.03714.05
5.3.80.0070.03714.07
5.3.70.0100.03014.06
5.3.60.0030.03314.00
5.3.50.0000.04013.84
5.3.40.0030.03314.11
5.3.30.0030.03313.91
5.3.20.0000.03713.84
5.3.10.0030.06013.69
5.3.00.0000.04713.70
5.2.170.0000.03011.11
5.2.160.0000.03011.32
5.2.150.0000.03011.18
5.2.140.0070.02311.20
5.2.130.0000.03011.14
5.2.120.0000.03311.25
5.2.110.0030.02711.10
5.2.100.0030.03711.15
5.2.90.0030.02711.06
5.2.80.0030.05311.13
5.2.70.0000.06311.09
5.2.60.0070.05011.05
5.2.50.0000.04711.05
5.2.40.0030.03311.00
5.2.30.0070.04710.89
5.2.20.0000.03010.99
5.2.10.0130.02010.91
5.2.00.0000.03710.86
5.1.60.0000.0439.96
5.1.50.0030.02710.04
5.1.40.0100.03310.00
5.1.30.0000.05710.24
5.1.20.0030.05310.36
5.1.10.0100.04310.11
5.1.00.0030.05710.09
5.0.50.0070.0378.98
5.0.40.0070.0308.98
5.0.30.0000.0408.98
5.0.20.0000.0308.98
5.0.10.0030.0478.98
5.0.00.0070.0508.98
4.4.90.0000.0178.98
4.4.80.0030.0238.98
4.4.70.0000.0238.98
4.4.60.0000.0278.98
4.4.50.0000.0238.98
4.4.40.0030.0278.98
4.4.30.0000.0178.98
4.4.20.0030.0138.98
4.4.10.0000.0238.98
4.4.00.0000.0438.98
4.3.110.0070.0138.98
4.3.100.0000.0308.98
4.3.90.0030.0208.98
4.3.80.0030.0478.98
4.3.70.0000.0338.98
4.3.60.0000.0238.98
4.3.50.0000.0238.98
4.3.40.0000.0478.98
4.3.30.0000.0338.98
4.3.20.0000.0408.98
4.3.10.0000.0178.98
4.3.00.0000.0178.98

preferences:
41.1 ms | 400 KiB | 5 Q