3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public static function bar() { echo 'We have Bar!'; } } $class = 'Foo'; $class::bar();

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.110.0060.00920.94
8.3.100.0050.00324.06
8.3.90.0000.00726.77
8.3.80.0030.00616.38
8.3.70.0210.00016.58
8.3.60.0110.00618.18
8.3.50.0090.00722.81
8.3.40.0120.00318.90
8.3.30.0150.00618.88
8.3.20.0040.00420.09
8.3.10.0000.00823.53
8.3.00.0040.00417.50
8.2.230.0140.00722.58
8.2.220.0040.00437.54
8.2.210.0050.00326.77
8.2.200.0090.00016.38
8.2.190.0150.00616.58
8.2.180.0070.01016.50
8.2.170.0070.00722.96
8.2.160.0120.00320.47
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00419.84
8.2.110.0040.00722.08
8.2.100.0080.00417.84
8.2.90.0050.00319.05
8.2.80.0080.00017.97
8.2.70.0040.00417.50
8.2.60.0000.00917.93
8.2.50.0030.00618.07
8.2.40.0000.00818.22
8.2.30.0050.00217.98
8.2.20.0040.00417.62
8.2.10.0000.00718.03
8.2.00.0040.00417.48
8.1.290.0000.01118.88
8.1.280.0120.00925.92
8.1.270.0040.00423.82
8.1.260.0040.00426.35
8.1.250.0150.00328.09
8.1.240.0040.00423.98
8.1.230.0100.00019.10
8.1.220.0060.00317.74
8.1.210.0050.00318.77
8.1.200.0030.00617.11
8.1.190.0050.00317.00
8.1.180.0050.00218.10
8.1.170.0030.00618.43
8.1.160.0000.00721.82
8.1.150.0000.00818.91
8.1.140.0000.00717.39
8.1.130.0040.00417.77
8.1.120.0000.00717.40
8.1.110.0040.00417.41
8.1.100.0040.00417.38
8.1.90.0000.00717.31
8.1.80.0060.00317.31
8.1.70.0030.00317.22
8.1.60.0030.00617.50
8.1.50.0030.00517.39
8.1.40.0040.00417.39
8.1.30.0000.00917.60
8.1.20.0050.00217.66
8.1.10.0070.00017.56
8.1.00.0030.00517.50
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0000.00718.50
8.0.270.0030.00317.30
8.0.260.0030.00317.30
8.0.250.0040.00416.78
8.0.240.0040.00416.78
8.0.230.0000.00716.81
8.0.220.0030.00316.71
8.0.210.0070.00016.86
8.0.200.0000.00616.75
8.0.190.0000.00716.87
8.0.180.0040.00416.77
8.0.170.0080.00016.81
8.0.160.0040.00416.81
8.0.150.0030.00316.68
8.0.140.0030.00716.75
8.0.130.0000.00513.21
8.0.120.0040.00416.70
8.0.110.0050.00216.72
8.0.100.0030.00316.77
8.0.90.0030.00316.77
8.0.80.0070.01016.80
8.0.70.0090.00016.83
8.0.60.0000.00816.94
8.0.50.0040.00416.79
8.0.30.0100.00916.96
8.0.20.0080.01317.44
8.0.10.0070.00016.83
8.0.00.0120.01216.60
7.4.330.0060.00015.00
7.4.320.0040.00416.43
7.4.300.0060.00016.64
7.4.290.0030.00316.55
7.4.280.0040.00416.56
7.4.270.0000.00716.43
7.4.260.0070.00016.38
7.4.250.0040.00416.55
7.4.240.0020.00516.53
7.4.230.0070.00016.40
7.4.220.0070.01016.67
7.4.210.0030.01416.46
7.4.200.0040.00416.59
7.4.160.0060.01216.52
7.4.150.0040.01817.40
7.4.140.0090.01217.86
7.4.130.0070.00916.36
7.4.120.0100.01016.42
7.4.110.0000.01616.63
7.4.100.0090.01016.26
7.4.90.0150.00816.45
7.4.80.0110.00619.39
7.4.70.0090.00916.39
7.4.60.0100.00716.41
7.4.50.0030.00316.50
7.4.40.0060.00916.46
7.4.30.0090.00616.54
7.4.00.0040.01115.04
7.3.330.0030.00213.08
7.3.320.0000.00513.36
7.3.310.0060.00016.11
7.3.300.0030.00316.18
7.3.290.0000.01916.28
7.3.280.0060.01016.29
7.3.270.0140.00417.40
7.3.260.0120.00616.31
7.3.250.0070.01016.37
7.3.240.0090.00916.24
7.3.230.0080.00916.42
7.3.210.0100.00716.36
7.3.200.0090.00919.39
7.3.190.0100.00716.40
7.3.180.0040.01116.43
7.3.170.0110.00716.65
7.3.160.0090.01316.22
7.2.330.0110.00916.26
7.2.320.0170.00816.69
7.2.310.0060.01116.34
7.2.300.0090.00916.66
7.2.290.0030.01316.74
7.2.00.0030.01319.32
7.1.70.0030.00617.08
7.1.60.0080.00417.28
7.1.50.0070.01516.80
7.1.00.0070.07322.28
7.0.200.0030.01216.58
7.0.140.0000.06722.10
7.0.60.0100.06319.91
7.0.50.0100.08017.88
7.0.40.0100.03720.28
7.0.30.0230.06020.06
7.0.20.0270.05320.09
7.0.10.0070.08720.15
7.0.00.0200.07020.07
5.6.280.0000.07720.99
5.6.210.0030.04020.77
5.6.200.0000.04318.14
5.6.190.0100.04020.33
5.6.180.0300.07320.50
5.6.170.0300.03720.55
5.6.160.0000.04720.55
5.6.150.0100.03718.19
5.6.140.0030.08718.15
5.6.130.0070.07318.27
5.6.120.0070.05021.02
5.6.110.0070.07021.04
5.6.100.0030.04021.11
5.6.90.0000.04721.12
5.6.80.0030.08020.35
5.5.350.0330.06720.44
5.5.340.0070.06317.93
5.5.330.0100.04020.27
5.5.320.0270.08020.38
5.5.310.0370.06020.23
5.5.300.0000.04317.92
5.5.290.0100.07717.92
5.5.280.0030.07320.87
5.5.270.0000.09020.64
5.5.260.0070.08020.87
5.5.250.0130.04320.69
5.5.240.0100.06720.26
5.4.450.0270.04719.42
5.4.440.0500.04719.28
5.4.430.0500.04019.38
5.4.420.0200.04719.26
5.4.410.0330.03719.04
5.4.400.0170.04719.06
5.4.390.0100.03319.09
5.4.380.0330.05018.85
5.4.370.0330.06318.46
5.4.360.0200.06018.78
5.4.350.0170.07018.80
5.4.340.0330.06018.72
5.4.320.0040.03812.50
5.4.310.0060.03812.50
5.4.300.0070.03712.50
5.4.290.0100.03512.50
5.4.280.0050.03512.39
5.4.270.0020.03912.39
5.4.260.0050.03712.39
5.4.250.0050.04412.39
5.4.240.0050.03912.39
5.4.230.0050.04312.39
5.4.220.0080.03812.38
5.4.210.0050.03712.39
5.4.200.0090.04512.39
5.4.190.0070.04012.39
5.4.180.0070.03912.38
5.4.170.0010.04112.39
5.4.160.0070.03412.39
5.4.150.0050.03912.39
5.4.140.0080.03412.07
5.4.130.0040.03912.06
5.4.120.0070.03412.02
5.4.110.0100.03912.01
5.4.100.0040.03712.02
5.4.90.0050.03712.01
5.4.80.0050.03612.01
5.4.70.0050.03612.01
5.4.60.0070.03512.00
5.4.50.0030.04512.01
5.4.40.0070.03812.00
5.4.30.0020.04311.99
5.4.20.0050.03611.99
5.4.10.0100.03011.99
5.4.00.0070.03411.48
5.3.290.0070.03712.80
5.3.280.0030.04112.71
5.3.270.0080.03612.73
5.3.260.0040.04012.72
5.3.250.0080.03512.72
5.3.240.0060.03612.72
5.3.230.0050.03812.71
5.3.220.0060.03512.68
5.3.210.0060.03812.68
5.3.200.0060.03612.68
5.3.190.0040.03912.68
5.3.180.0040.03912.68
5.3.170.0040.03712.67
5.3.160.0070.04512.68
5.3.150.0080.04112.68
5.3.140.0070.03612.66
5.3.130.0060.04212.66
5.3.120.0080.03912.66
5.3.110.0060.03912.66
5.3.100.0050.04612.12
5.3.90.0050.04212.09
5.3.80.0060.03612.09
5.3.70.0070.03612.09
5.3.60.0040.03912.07
5.3.50.0050.03812.02
5.3.40.0060.03612.02
5.3.30.0090.03211.97
5.3.20.0070.03411.75
5.3.10.0050.03711.72
5.3.00.0090.03411.71
5.2.170.0070.0319.22
5.2.160.0040.0299.22
5.2.150.0070.0299.22
5.2.140.0030.0329.21
5.2.130.0050.0289.17
5.2.120.0060.0269.18
5.2.110.0050.0309.18
5.2.100.0040.0299.18
5.2.90.0060.0279.18
5.2.80.0030.0329.17
5.2.70.0050.0309.17
5.2.60.0030.0319.13
5.2.50.0050.0289.10
5.2.40.0070.0269.07
5.2.30.0060.0349.05
5.2.20.0080.0319.04
5.2.10.0080.0288.95
5.2.00.0030.0318.80
5.1.60.0030.0258.09
5.1.50.0040.0288.09
5.1.40.0070.0328.07
5.1.30.0050.0258.42
5.1.20.0070.0338.44
5.1.10.0050.0278.16
5.1.00.0050.0268.16
5.0.50.0040.0216.64
5.0.40.0040.0206.50
5.0.30.0040.0326.31
5.0.20.0030.0246.28
5.0.10.0040.0186.26
5.0.00.0030.0346.25
4.4.90.0040.0144.78
4.4.80.0030.0154.75
4.4.70.0030.0154.75
4.4.60.0010.0164.76
4.4.50.0010.0224.77
4.4.40.0010.0304.70
4.4.30.0020.0164.76
4.4.20.0040.0244.84
4.4.10.0020.0164.85
4.4.00.0030.0244.75
4.3.110.0030.0154.67
4.3.100.0030.0184.66
4.3.90.0030.0144.64
4.3.80.0050.0304.58
4.3.70.0020.0144.63
4.3.60.0040.0154.63
4.3.50.0030.0174.63
4.3.40.0010.0254.54
4.3.30.0030.0163.30
4.3.20.0020.0163.28
4.3.10.0050.0163.23
4.3.00.0070.01315.97

preferences:
61.72 ms | 403 KiB | 5 Q