3v4l.org

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

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.00718.43
8.3.50.0100.00422.82
8.3.40.0110.00418.59
8.3.30.0100.00318.92
8.3.20.0040.00420.21
8.3.10.0040.00423.70
8.3.00.0040.00417.50
8.2.180.0130.00716.32
8.2.170.0060.00922.96
8.2.160.0130.00020.38
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0080.00020.97
8.2.110.0080.00022.07
8.2.100.0080.00417.91
8.2.90.0000.00719.05
8.2.80.0050.00317.97
8.2.70.0070.00417.63
8.2.60.0040.00419.63
8.2.50.0040.00418.07
8.2.40.0040.00419.82
8.2.30.0000.00818.07
8.2.20.0040.00417.67
8.2.10.0040.00418.00
8.2.00.0040.00417.72
8.1.280.0150.00025.92
8.1.270.0060.00323.96
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0030.00623.95
8.1.230.0060.00619.05
8.1.220.0030.00617.76
8.1.210.0080.00018.77
8.1.200.0100.00817.25
8.1.190.0050.00317.23
8.1.180.0060.00318.10
8.1.170.0030.00618.40
8.1.160.0000.00821.94
8.1.150.0050.00218.98
8.1.140.0050.00217.44
8.1.130.0080.00017.72
8.1.120.0050.00517.43
8.1.110.0030.00517.43
8.1.100.0070.00017.34
8.1.90.0000.01017.43
8.1.80.0030.00617.52
8.1.70.0020.00517.41
8.1.60.0050.00317.45
8.1.50.0030.00617.55
8.1.40.0040.00417.51
8.1.30.0030.00517.59
8.1.20.0030.00517.64
8.1.10.0000.00817.39
8.1.00.0040.00417.45
8.0.300.0000.00718.77
8.0.290.0000.00816.63
8.0.280.0000.00718.30
8.0.270.0070.00017.30
8.0.260.0030.00317.09
8.0.250.0030.00316.95
8.0.240.0000.00616.95
8.0.230.0040.00416.88
8.0.220.0000.00716.86
8.0.210.0000.00716.77
8.0.200.0030.00316.90
8.0.190.0000.01017.01
8.0.180.0000.00816.86
8.0.170.0030.00516.95
8.0.160.0070.00016.93
8.0.150.0030.00316.71
8.0.140.0040.00416.67
8.0.130.0040.00313.39
8.0.120.0040.00416.85
8.0.110.0080.00016.82
8.0.100.0050.00316.86
8.0.90.0000.00716.93
8.0.80.0030.01316.91
8.0.70.0000.00816.88
8.0.60.0000.00716.74
8.0.50.0000.00716.91
8.0.30.0130.01017.13
8.0.20.0130.01317.40
8.0.10.0020.00516.99
8.0.00.0120.00716.65
7.4.330.0000.00515.20
7.4.320.0000.00716.52
7.4.300.0060.00316.39
7.4.290.0030.00316.58
7.4.280.0000.00716.44
7.4.270.0070.00016.48
7.4.260.0000.00616.56
7.4.250.0000.00716.55
7.4.240.0020.00616.46
7.4.230.0000.00716.48
7.4.220.0000.01616.52
7.4.210.0040.01016.54
7.4.200.0070.00016.43
7.4.160.0100.01316.48
7.4.150.0150.00317.40
7.4.140.0080.01417.86
7.4.130.0050.01116.47
7.4.120.0070.01216.53
7.4.110.0130.00316.54
7.4.100.0160.00016.45
7.4.90.0120.00616.37
7.4.80.0070.01019.39
7.4.70.0000.01616.45
7.4.60.0110.01116.59
7.4.50.0000.00816.33
7.4.40.0100.01016.28
7.4.30.0090.00616.48
7.4.00.0050.01214.70
7.3.330.0050.00013.13
7.3.320.0030.00313.16
7.3.310.0040.00416.02
7.3.300.0060.00016.19
7.3.290.0070.01416.26
7.3.280.0070.00916.17
7.3.270.0130.00417.40
7.3.260.0100.01316.29
7.3.250.0110.01016.29
7.3.240.0090.00616.26
7.3.230.0090.00616.39
7.3.210.0100.00716.41
7.3.200.0140.00819.39
7.3.190.0030.01416.58
7.3.180.0070.01016.18
7.3.170.0080.00816.32
7.3.160.0070.01416.20
7.3.120.0100.01014.72
7.3.110.0060.01214.74
7.3.100.0110.00314.91
7.3.90.0090.00614.45
7.3.80.0060.00914.48
7.3.70.0030.01014.64
7.3.60.0130.00314.66
7.3.50.0070.00714.72
7.3.40.0000.00914.58
7.3.30.0100.00714.68
7.3.20.0080.00816.53
7.3.10.0060.00916.41
7.3.00.0000.01216.64
7.2.330.0110.00716.39
7.2.320.0150.00316.59
7.2.310.0050.01316.61
7.2.300.0000.02216.47
7.2.290.0080.00816.63
7.2.250.0060.01315.04
7.2.240.0030.01315.03
7.2.230.0070.00314.93
7.2.220.0080.00414.82
7.2.210.0100.00715.13
7.2.200.0060.00914.70
7.2.190.0090.00914.56
7.2.180.0080.00315.06
7.2.170.0130.00314.97
7.2.80.0060.00916.31
7.2.60.0120.01216.87
7.2.50.0060.01016.88
7.1.330.0100.00615.76
7.1.320.0030.00715.52
7.1.310.0040.01115.73
7.1.300.0030.01315.85
7.1.290.0100.00315.34
7.1.280.0100.00315.55
7.1.270.0030.01415.48
7.1.260.0030.01315.61
7.1.200.0220.00915.35
7.1.100.0130.00318.23
7.1.70.0080.00316.75
7.1.60.0070.01019.40
7.1.50.0180.00316.86
7.1.00.0000.08022.36
7.0.200.0030.00616.80
7.0.140.0000.07722.08
7.0.110.0030.04021.75
7.0.100.0000.05721.68
7.0.90.0070.03721.73
7.0.80.0000.04321.77
7.0.70.0070.03721.86
7.0.60.0070.06321.76
7.0.50.0070.03721.80
7.0.40.0000.04019.88
7.0.30.0030.04019.85
7.0.20.0030.03319.70
7.0.10.0070.06019.86
7.0.00.0100.07019.73
5.6.280.0030.07321.02
5.6.260.0030.04020.74
5.6.250.0030.05320.60
5.6.240.0030.04020.48
5.6.230.0000.04320.56
5.6.220.0000.04020.68
5.6.210.0070.04020.73
5.6.200.0000.04320.62
5.6.190.0030.04020.61
5.6.180.0000.04020.60
5.6.170.0000.04020.66
5.6.160.0070.04320.66
5.6.150.0030.04020.57
5.6.140.0070.07720.65
5.6.130.0070.07020.62
5.6.120.0170.07720.85
5.6.110.0030.07720.84
5.6.100.0000.08320.55
5.6.90.0100.07720.59
5.6.80.0000.08019.97
5.6.70.0170.06319.96
5.6.60.0030.07320.00
5.6.50.0100.07020.03
5.6.40.0070.06720.04
5.6.30.0100.07019.95
5.6.20.0000.08019.92
5.6.10.0070.07720.01
5.6.00.0000.07319.95
5.5.380.0000.06317.73
5.5.370.0000.04017.69
5.5.360.0000.06317.71
5.5.350.0030.06017.59
5.5.340.0030.04018.13
5.5.330.0000.04018.09
5.5.320.0030.03718.10
5.5.310.0030.03718.25
5.5.300.0000.06718.13
5.5.290.0070.07317.91
5.5.280.0070.08017.95
5.5.270.0070.05017.92
5.5.260.0070.08018.21
5.5.250.0100.07317.72
5.5.240.0070.07317.52
5.5.230.0000.08317.51
5.5.220.0030.07017.60
5.5.210.0030.07717.50
5.5.200.0100.06717.41
5.5.190.0070.07317.58
5.5.180.0030.07717.27
5.5.160.0030.07317.48
5.5.150.0030.07317.46
5.5.140.0100.06317.28
5.5.130.0070.07017.47
5.5.120.0000.08317.57
5.5.110.0030.08017.44
5.5.100.0000.04717.48
5.5.90.0000.04017.35
5.5.80.0100.06717.16
5.5.70.0000.07717.37
5.5.60.0070.07317.34
5.5.50.0000.08317.16
5.5.40.0030.07717.29
5.5.30.0030.08017.16
5.5.20.0030.07717.38
5.5.10.0070.07017.46
5.5.00.0030.07017.14
5.4.450.0000.05019.34
5.4.440.0030.07319.35
5.4.430.0030.07019.66
5.4.420.0100.07019.55
5.4.410.0070.07019.31
5.4.400.0030.07019.00
5.4.390.0070.05019.17
5.4.380.0000.05319.25
5.4.370.0030.07018.98
5.4.360.0030.07319.26
5.4.350.0070.07719.32
5.4.340.0030.08019.01
5.4.320.0070.04319.00
5.4.310.0100.06719.11
5.4.300.0030.07319.31
5.4.290.0030.07319.16
5.4.280.0030.07019.25
5.4.270.0070.04019.31
5.4.260.0100.06719.03
5.4.250.0030.07719.18
5.4.240.0030.07319.22
5.4.230.0030.07719.00
5.4.220.0030.07719.31
5.4.210.0100.07318.99
5.4.200.0070.06719.00
5.4.190.0000.08018.96
5.4.180.0030.07718.97
5.4.170.0000.07719.25
5.4.160.0130.06719.07
5.4.150.0000.07319.16
5.4.140.0000.07716.35
5.4.130.0000.07316.33
5.4.120.0030.07316.35
5.4.110.0100.06716.43
5.4.100.0070.07016.56
5.4.90.0030.06316.56
5.4.80.0070.07016.34
5.4.70.0000.07716.45
5.4.60.0070.06316.33
5.4.50.0030.07016.54
5.4.40.0030.07716.68
5.4.30.0000.07016.44
5.4.20.0030.07316.67
5.4.10.0030.07716.62
5.4.00.0030.07016.04
5.3.290.0000.07714.66
5.3.280.0000.05314.73
5.3.270.0070.06714.63
5.3.260.0070.06314.75
5.3.250.0070.06014.73
5.3.240.0070.06314.62
5.3.230.0030.07314.46
5.3.220.0030.04314.43
5.3.210.0070.07314.52
5.3.200.0000.08014.54
5.3.190.0000.07714.60
5.3.180.0100.05314.42
5.3.170.0070.05314.56
5.3.160.0000.08014.70
5.3.150.0030.07314.69
5.3.140.0070.06714.55
5.3.130.0100.07314.57
5.3.120.0100.07314.69
5.3.110.0030.07314.63
5.3.100.0000.07714.05
5.3.90.0000.08014.02
5.3.80.0070.07714.02
5.3.70.0030.04314.03
5.3.60.0100.06314.00
5.3.50.0000.05013.98
5.3.40.0070.06714.09
5.3.30.0100.07013.93
5.3.20.0100.06713.77
5.3.10.0000.06713.52
5.3.00.0100.06713.64
5.2.170.0030.06711.11
5.2.160.0070.06011.10
5.2.150.0000.05711.23
5.2.140.0000.06311.13
5.2.130.0000.06011.07
5.2.120.0030.05711.24
5.2.110.0070.05711.23
5.2.100.0030.05311.11
5.2.90.0000.06311.13
5.2.80.0000.04311.10
5.2.70.0000.03311.11
5.2.60.0000.04311.01
5.2.50.0070.05311.11
5.2.40.0070.05710.96
5.2.30.0030.06010.93
5.2.20.0030.06311.09
5.2.10.0070.05010.93
5.2.00.0030.04010.79
5.1.60.0070.0509.82
5.1.50.0030.04710.07
5.1.40.0030.05310.17
5.1.30.0030.05310.33
5.1.20.0070.05010.44
5.1.10.0000.06010.22
5.1.00.0070.04710.13
5.0.50.0030.0439.76
5.0.40.0030.0479.76
5.0.30.0030.0609.76
5.0.20.0000.0439.76
5.0.10.0000.0279.76
5.0.00.0000.0679.76
4.4.90.0070.0309.76
4.4.80.0000.0379.76
4.4.70.0070.0179.76
4.4.60.0000.0339.76
4.4.50.0000.0339.76
4.4.40.0000.0539.76
4.4.30.0030.0309.76
4.4.20.0000.0309.76
4.4.10.0030.0179.76
4.4.00.0000.0539.76
4.3.110.0030.0309.76
4.3.100.0000.0179.76
4.3.90.0030.0309.76
4.3.80.0000.0509.76
4.3.70.0000.0339.76
4.3.60.0000.0339.76
4.3.50.0030.0309.76
4.3.40.0030.0409.76
4.3.30.0000.0339.76
4.3.20.0030.0339.76
4.3.10.0000.0309.76
4.3.00.0000.0339.76

preferences:
49.77 ms | 401 KiB | 5 Q