3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function bar(self $baz) {} } class Bar extends Foo { public function bar(self $baz) {} }

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.0140.00318.55
8.3.50.0120.00721.90
8.3.40.0070.00718.71
8.3.30.0110.00318.75
8.3.20.0050.00320.04
8.3.10.0000.00820.41
8.3.00.0000.00819.31
8.2.180.0070.01516.48
8.2.170.0140.00322.96
8.2.160.0100.00320.29
8.2.150.0070.00024.18
8.2.140.0090.00624.66
8.2.130.0040.00426.16
8.2.120.0070.01022.13
8.2.110.0070.00320.54
8.2.100.0120.00017.97
8.2.90.0040.00418.91
8.2.80.0060.00317.97
8.2.70.0060.00317.50
8.2.60.0030.00617.80
8.2.50.0000.00818.07
8.2.40.0000.00818.16
8.2.30.0060.00319.12
8.2.20.0040.00417.43
8.2.10.0060.00317.90
8.2.00.0080.00017.56
8.1.280.0070.00725.92
8.1.270.0040.00423.89
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0000.01023.98
8.1.230.0100.00019.15
8.1.220.0070.00017.74
8.1.210.0050.00318.77
8.1.200.0100.00317.35
8.1.190.0040.00417.10
8.1.180.0060.00318.10
8.1.170.0040.00418.38
8.1.160.0070.00021.88
8.1.150.0040.00418.84
8.1.140.0070.00017.32
8.1.130.0000.00717.76
8.1.120.0050.00217.34
8.1.110.0070.00017.34
8.1.100.0000.00717.30
8.1.90.0070.00017.38
8.1.80.0000.00717.27
8.1.70.0030.00317.21
8.1.60.0000.00917.43
8.1.50.0040.00417.39
8.1.40.0030.00617.26
8.1.30.0030.00617.57
8.1.20.0040.00417.41
8.1.10.0000.00717.34
8.1.00.0040.00417.30
8.0.300.0060.00318.77
8.0.290.0080.00016.63
8.0.280.0030.00318.33
8.0.270.0000.00717.06
8.0.260.0030.00317.16
8.0.250.0000.00716.78
8.0.240.0030.00316.88
8.0.230.0000.00716.78
8.0.220.0070.00016.72
8.0.210.0040.00416.84
8.0.200.0000.00816.92
8.0.190.0000.00916.89
8.0.180.0040.00416.87
8.0.170.0040.00416.91
8.0.160.0030.00516.70
8.0.150.0030.00316.87
8.0.140.0040.00416.64
8.0.130.0030.00313.26
8.0.120.0000.00816.80
8.0.110.0040.00416.76
8.0.100.0000.00816.62
8.0.90.0000.00716.86
8.0.80.0060.01616.82
8.0.70.0000.00716.84
8.0.60.0020.00516.87
8.0.50.0000.00816.89
8.0.30.0140.00816.82
8.0.20.0090.00917.40
8.0.10.0000.00716.83
8.0.00.0130.00716.57
7.4.330.0000.00515.00
7.4.320.0060.00016.30
7.4.300.0030.00316.44
7.4.290.0070.00016.37
7.4.280.0000.00816.41
7.4.270.0030.00316.23
7.4.260.0000.00716.41
7.4.250.0050.00216.45
7.4.240.0050.00216.40
7.4.230.0020.00516.26
7.4.220.0070.01016.43
7.4.210.0030.01216.38
7.4.200.0040.00416.21
7.4.160.0100.00716.16
7.4.150.0120.00617.40
7.4.140.0100.01517.86
7.4.130.0100.00716.35
7.4.120.0090.00816.38
7.4.110.0000.01716.41
7.4.100.0150.00616.48
7.4.90.0070.01116.44
7.4.80.0180.00616.41
7.4.70.0070.01016.33
7.4.60.0030.01316.31
7.4.50.0040.00416.48
7.4.40.0060.00916.48
7.4.30.0080.00816.48
7.4.00.0080.00514.58
7.3.330.0020.00213.21
7.3.320.0000.00513.24
7.3.310.0030.00316.25
7.3.300.0070.00016.28
7.3.290.0070.00716.15
7.3.280.0100.00416.23
7.3.270.0060.01317.40
7.3.260.0110.00616.18
7.3.250.0140.00316.28
7.3.240.0140.00716.30
7.3.230.0030.01316.49
7.3.210.0140.00616.25
7.3.200.0120.00419.39
7.3.190.0100.00716.09
7.3.180.0090.00616.31
7.3.170.0140.00316.31
7.3.160.0120.00316.41
7.2.330.0080.01016.43
7.2.320.0120.00616.36
7.2.310.0060.01216.52
7.2.300.0070.01616.59
7.2.290.0080.00816.30
7.2.80.0070.00716.36
7.2.60.0060.01016.82
7.2.00.0030.00619.21
7.1.200.0180.00215.25
7.1.100.0030.00917.99
7.1.70.0030.00616.97
7.1.60.0040.01519.32
7.1.50.0090.01216.72
7.1.00.0000.08022.57
7.0.200.0000.01016.29
7.0.140.0000.06322.18
7.0.60.0100.08319.85
7.0.50.0070.08317.72
7.0.40.0030.09020.21
7.0.30.0270.07320.25
7.0.20.0330.07720.16
7.0.10.0270.06720.20
7.0.00.0070.06020.05
5.6.280.0030.07320.89
5.6.210.0130.07720.73
5.6.200.0100.08018.27
5.6.190.0130.08020.52
5.6.180.0500.07020.67
5.6.170.0130.04320.71
5.6.160.0030.06020.52
5.6.150.0000.09018.15
5.6.140.0130.07718.22
5.6.130.0000.04718.16
5.6.120.0100.08320.82
5.6.110.0030.04020.99
5.6.100.0000.08721.00
5.6.90.0070.07021.00
5.6.80.0070.08320.39
5.5.350.0130.06020.53
5.5.340.0070.06318.08
5.5.330.0030.09720.15
5.5.320.0330.08320.32
5.5.310.0270.07720.36
5.5.300.0100.08018.02
5.5.290.0000.04317.94
5.5.280.0070.07720.88
5.5.270.0070.07720.87
5.5.260.0100.06720.89
5.5.250.0000.08720.62
5.5.240.0170.07320.26
5.4.450.0070.06019.61
5.4.440.1100.05319.45
5.4.430.0100.05719.48
5.4.420.0930.05319.48
5.4.410.1000.05719.56
5.4.400.0870.05319.02
5.4.390.0830.06019.25
5.4.380.0330.05018.70
5.4.370.0230.06018.78
5.4.360.0500.04718.70
5.4.350.0370.05018.63
5.4.340.0430.06318.75
5.4.320.0110.03412.50
5.4.310.0090.04212.50
5.4.300.0080.04412.50
5.4.290.0100.03912.50
5.4.280.0080.03412.40
5.4.270.0100.05112.39
5.4.260.0110.03812.39
5.4.250.0090.04012.39
5.4.240.0100.03512.39
5.4.230.0080.04812.39
5.4.220.0040.04612.39
5.4.210.0080.03112.39
5.4.200.0050.04812.39
5.4.190.0080.04112.38
5.4.180.0050.03612.38
5.4.170.0060.03812.40
5.4.160.0100.03112.39
5.4.150.0080.04012.39
5.4.140.0070.04812.07
5.4.130.0070.03712.06
5.4.120.0090.04612.02
5.4.110.0090.03912.02
5.4.100.0080.04412.01
5.4.90.0060.04012.02
5.4.80.0070.04412.01
5.4.70.0080.03812.01
5.4.60.0030.03712.01
5.4.50.0070.04612.01
5.4.40.0110.04212.00
5.4.30.0090.03311.99
5.4.20.0060.04512.00
5.4.10.0070.03811.99
5.4.00.0020.04011.48
5.3.290.0130.04012.80
5.3.280.0060.04112.71
5.3.270.0080.04512.73
5.3.260.0060.05012.72
5.3.250.0130.04412.72
5.3.240.0090.04312.72
5.3.230.0080.05412.71
5.3.220.0100.04012.68
5.3.210.0080.04712.68
5.3.200.0070.05212.68
5.3.190.0070.04712.68
5.3.180.0100.04412.68
5.3.170.0090.04612.67
5.3.160.0110.03812.67
5.3.150.0070.04112.67
5.3.140.0050.03712.66
5.3.130.0110.03812.66
5.3.120.0070.04512.66
5.3.110.0070.04512.66
5.3.100.0090.03912.12
5.3.90.0090.05312.10
5.3.80.0050.04212.09
5.3.70.0110.03512.10
5.3.60.0040.05212.07
5.3.50.0050.04512.02
5.3.40.0060.03812.03
5.3.30.0070.03911.98
5.3.20.0070.05111.77
5.3.10.0070.04311.73
5.3.00.0100.05211.72
5.2.170.0070.0379.22
5.2.160.0070.0369.22
5.2.150.0070.0389.22
5.2.140.0070.0289.22
5.2.130.0090.0359.18
5.2.120.0070.0419.18
5.2.110.0060.0349.19
5.2.100.0070.0359.18
5.2.90.0040.0469.18
5.2.80.0050.0439.17
5.2.70.0060.0349.17
5.2.60.0080.0349.13
5.2.50.0090.0349.10
5.2.40.0070.0349.08
5.2.30.0030.0369.00
5.2.20.0070.0279.04
5.2.10.0070.0368.94
5.2.00.0040.0308.80
5.1.60.0040.0278.09
5.1.50.0080.0338.09
5.1.40.0060.0298.07
5.1.30.0050.0368.42
5.1.20.0060.0318.44
5.1.10.0030.0278.16
5.1.00.0090.0218.16
5.0.50.0040.0216.64
5.0.40.0020.0226.50
5.0.30.0070.0386.31
5.0.20.0040.0196.28
5.0.10.0030.0306.25
5.0.00.0080.0356.25
4.4.90.0030.0194.78
4.4.80.0040.0144.75
4.4.70.0040.0144.75
4.4.60.0030.0164.75
4.4.50.0050.0164.77
4.4.40.0030.0254.71
4.4.30.0060.0134.76
4.4.20.0030.0214.85
4.4.10.0010.0194.85
4.4.00.0050.0324.76
4.3.110.0010.0244.66
4.3.100.0020.0164.66
4.3.90.0020.0154.63
4.3.80.0040.0304.58
4.3.70.0040.0194.63
4.3.60.0050.0124.62
4.3.50.0030.0154.63
4.3.40.0030.0244.54
4.3.30.0030.0163.30
4.3.20.0020.0193.28
4.3.10.0030.0213.23
4.3.00.0070.0236.74

preferences:
41.33 ms | 401 KiB | 5 Q