3v4l.org

run code in 300+ PHP versions simultaneously
<?php function func() {echo 'fail';} class Foo { const bar = 'func'; public static function bar() { echo 'pass';} } @call_user_func([Foo, 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.60.0120.00318.38
8.3.50.0150.00717.26
8.3.40.0090.00618.84
8.3.30.0140.00418.75
8.3.20.0030.00518.90
8.3.10.0040.00418.90
8.3.00.0090.00319.32
8.2.180.0090.00916.63
8.2.170.0070.00722.96
8.2.160.0150.00018.71
8.2.150.0000.00924.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0100.00321.04
8.2.110.0030.00622.20
8.2.100.0070.00417.84
8.2.90.0000.00819.05
8.2.80.0060.00317.97
8.2.70.0080.00017.50
8.2.60.0060.00318.04
8.2.50.0040.00419.31
8.2.40.0050.00320.45
8.2.30.0070.00019.27
8.2.20.0050.00517.79
8.2.10.0000.00817.63
8.2.00.0000.01017.74
8.1.280.0140.00725.92
8.1.270.0080.00023.99
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0000.00823.97
8.1.230.0110.00023.90
8.1.220.0030.00617.74
8.1.210.0030.00618.77
8.1.200.0030.00617.35
8.1.190.0050.00317.35
8.1.180.0080.00018.10
8.1.170.0000.00918.47
8.1.160.0000.00718.82
8.1.150.0000.00718.79
8.1.140.0000.00717.29
8.1.130.0030.00517.39
8.1.120.0050.00317.29
8.1.110.0040.00417.38
8.1.100.0040.00417.41
8.1.90.0050.00217.30
8.1.80.0020.00517.43
8.1.70.0000.00717.32
8.1.60.0000.00817.48
8.1.50.0080.00017.38
8.1.40.0060.00317.49
8.1.30.0040.00417.49
8.1.20.0000.00817.61
8.1.10.0000.00717.55
8.1.00.0030.00517.33
8.0.300.0030.00318.77
8.0.290.0040.00416.75
8.0.280.0000.00818.36
8.0.270.0000.00717.27
8.0.260.0040.00416.87
8.0.250.0040.00417.01
8.0.240.0000.00717.05
8.0.230.0040.00416.90
8.0.220.0000.00817.00
8.0.210.0000.00717.00
8.0.200.0000.00616.97
8.0.190.0000.00716.93
8.0.180.0070.00016.96
8.0.170.0030.00716.96
8.0.160.0030.00316.84
8.0.150.0000.00816.86
8.0.140.0020.00516.86
8.0.130.0000.00513.34
8.0.120.0030.00616.82
8.0.110.0000.00716.95
8.0.100.0050.00316.96
8.0.90.0000.00816.99
8.0.80.0040.01117.00
8.0.70.0070.00016.87
8.0.60.0000.00716.77
8.0.50.0040.00417.00
8.0.30.0070.01016.89
8.0.20.0130.00717.01
8.0.10.0000.00817.07
8.0.00.0080.01416.64
7.4.330.0030.00212.97
7.4.320.0090.00016.51
7.4.300.0030.00316.60
7.4.290.0000.00716.45
7.4.280.0080.00016.59
7.4.270.0020.00516.40
7.4.260.0060.00013.20
7.4.250.0040.00416.47
7.4.240.0000.00716.49
7.4.230.0000.00716.62
7.4.220.0040.01416.39
7.4.210.0120.00916.61
7.4.200.0070.00016.67
7.4.190.0040.00416.58
7.4.160.0120.00616.55
7.4.150.0140.00716.44
7.4.140.0070.01017.86
7.4.130.0110.00716.41
7.4.120.0090.01216.33
7.4.110.0170.00716.49
7.4.100.0110.00716.46
7.4.90.0140.00316.58
7.4.80.0070.01016.53
7.4.70.0150.00316.54
7.4.60.0100.00616.40
7.4.50.0040.00416.29
7.4.40.0090.00916.56
7.4.30.0080.00816.42
7.4.00.0110.00614.76
7.3.330.0030.00313.29
7.3.320.0030.00313.31
7.3.310.0030.00316.41
7.3.300.0030.00616.17
7.3.290.0100.00516.34
7.3.280.0040.01116.32
7.3.270.0090.00916.50
7.3.260.0130.00416.37
7.3.240.0130.00316.24
7.3.230.0140.00416.37
7.3.210.0070.01016.33
7.3.200.0120.01219.39
7.3.190.0060.01016.26
7.3.180.0120.00916.58
7.3.170.0000.01716.35
7.3.160.0060.00916.64
7.3.120.0040.01114.90
7.2.330.0130.00316.76
7.2.320.0060.01616.80
7.2.310.0130.01316.45
7.2.300.0100.00716.52
7.2.290.0080.00816.68
7.2.00.0090.00919.46
7.1.100.0000.01518.19
7.1.70.0000.00717.02
7.1.60.0000.01319.25
7.1.50.0100.01316.93
7.1.00.0030.05022.43
7.0.200.0190.00616.36
7.0.140.0070.06322.11
7.0.120.0030.06322.04
7.0.60.0170.06320.06
7.0.50.0030.04717.96
7.0.40.0100.04320.02
7.0.30.0300.07020.06
7.0.20.0300.08020.23
7.0.10.0300.07720.19
7.0.00.0100.06020.05
5.6.280.0030.07321.03
5.6.210.0100.07020.69
5.6.200.0130.06718.16
5.6.190.0100.06320.61
5.6.180.0230.04720.45
5.6.170.0330.06720.51
5.6.160.0030.05720.55
5.6.150.0030.06718.20
5.6.140.0070.04318.15
5.6.130.0030.08318.18
5.6.120.0100.04721.15
5.6.110.0030.08721.07
5.6.100.0170.07021.14
5.6.90.0070.08321.13
5.6.80.0100.07020.51
5.6.70.3370.04020.37
5.5.350.0130.04720.44
5.5.340.0030.04018.03
5.5.330.0030.04320.27
5.5.320.0270.04320.31
5.5.310.0270.05320.34
5.5.300.0100.07717.92
5.5.290.0030.04017.95
5.5.280.0170.06720.77
5.5.270.0130.08020.87
5.5.260.0100.03720.82
5.5.250.0170.07720.61
5.5.240.0070.07720.23
5.4.450.0330.06719.56
5.4.440.3800.04019.28
5.4.430.0100.05319.54
5.4.420.0030.06019.54
5.4.410.0100.07319.25
5.4.400.0170.04319.25
5.4.390.0100.05318.98
5.4.380.0370.04718.84
5.4.370.0200.04718.53
5.4.360.0130.06018.73
5.4.350.0030.03812.02
5.4.340.0060.03712.01
5.4.320.0090.03412.51
5.4.310.0040.04812.50
5.4.300.0110.04612.50
5.4.290.0080.05212.50
5.4.280.0090.04612.40
5.4.270.0130.05012.40
5.4.260.0080.05312.40
5.4.250.0100.04912.40
5.4.240.0080.04212.40
5.4.230.0080.04312.39
5.4.220.0060.05212.39
5.4.210.0080.04612.39
5.4.200.0070.04512.39
5.4.190.0100.04812.39
5.4.180.0070.04612.38
5.4.170.0090.04212.40
5.4.160.0080.03912.39
5.4.150.0090.03812.39
5.4.140.0050.04512.07
5.4.130.0080.03812.06
5.4.120.0090.03612.02
5.4.110.0080.03712.01
5.4.100.0050.04312.01
5.4.90.0070.04512.01
5.4.80.0080.04812.01
5.4.70.0090.06612.01
5.4.60.0080.05012.01
5.4.50.0080.05212.01
5.4.40.0130.06412.00
5.4.30.0110.05511.99
5.4.20.0090.04712.00
5.4.10.0080.05111.99
5.4.00.0110.04911.48
5.3.290.0060.04012.80
5.3.280.0130.05412.71
5.3.270.0100.05412.72
5.3.260.0090.05212.72
5.3.250.0090.05512.72
5.3.240.0100.05212.72
5.3.230.0080.05012.71
5.3.220.0110.05212.68
5.3.210.0100.05612.68
5.3.200.0090.05012.68
5.3.190.0080.05412.67
5.3.180.0090.05012.67
5.3.170.0080.04712.67
5.3.160.0080.04712.67
5.3.150.0080.04712.68
5.3.140.0100.04112.66
5.3.130.0060.05312.66
5.3.120.0080.05312.66
5.3.110.0110.05412.66
5.3.100.0080.04812.13
5.3.90.0100.04812.11
5.3.80.0070.04912.10
5.3.70.0070.05312.10
5.3.60.0090.04912.08

preferences:
43.78 ms | 401 KiB | 5 Q