3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo(int $x, int $y): void { var_dump(func_get_args()); var_dump($x, $y); } (fn (...$args) => foo(...$args))(y: 1, x: 2);

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.5.30.0070.00319.34
8.5.20.0090.01119.42
8.5.10.0100.00816.54
8.5.00.0110.01119.77
8.4.180.0130.01019.69
8.4.170.0110.01322.04
8.4.160.0140.00822.08
8.4.150.0060.00516.87
8.4.140.0120.01017.50
8.4.130.0100.01018.79
8.4.120.0050.00422.13
8.4.110.0150.00319.61
8.4.100.0120.00917.80
8.4.90.0110.00720.45
8.4.80.0100.00918.82
8.4.70.0130.00720.56
8.4.60.0150.00520.70
8.4.50.0110.01118.66
8.4.40.0060.01319.26
8.4.30.0100.01020.09
8.4.20.0060.00319.00
8.4.10.0060.00319.32
8.3.300.0100.01219.26
8.3.290.0120.00820.96
8.3.280.0130.00618.27
8.3.270.0120.00716.33
8.3.260.0070.00316.66
8.3.250.0110.00716.43
8.3.240.0100.00916.64
8.3.230.0070.00316.66
8.3.220.0040.00418.82
8.3.210.0090.00616.62
8.3.200.0040.00516.63
8.3.190.0050.00417.36
8.3.180.0120.00818.73
8.3.170.0070.01118.85
8.3.160.0110.00716.58
8.3.150.0040.00416.76
8.3.140.0180.00016.80
8.3.130.0050.00318.35
8.3.120.0000.00919.07
8.3.110.0040.00420.94
8.3.100.0000.00824.06
8.3.90.0080.00026.77
8.3.80.0030.00619.36
8.3.70.0090.01216.75
8.3.60.0110.00818.40
8.3.50.0110.00716.64
8.3.40.0150.00018.63
8.3.30.0040.01118.72
8.3.20.0030.00624.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.300.0120.00720.19
8.2.290.0140.00516.58
8.2.280.0090.00618.10
8.2.270.0040.00416.59
8.2.260.0100.01016.95
8.2.250.0060.01318.39
8.2.240.0120.00317.05
8.2.230.0060.00322.58
8.2.220.0040.01537.54
8.2.210.0050.00326.77
8.2.200.0030.00618.88
8.2.190.0090.00618.29
8.2.180.0120.00625.92
8.2.170.0110.00418.78
8.2.160.0030.01422.96
8.2.150.0000.00825.66
8.2.140.0070.00024.66
8.2.130.0050.00226.16
8.2.120.0080.00026.35
8.2.110.0090.00020.53
8.2.100.0090.00020.41
8.1.340.0130.00821.78
8.1.330.0120.00815.93
8.1.320.0090.01015.96
8.1.310.0060.01218.55
8.1.300.0090.00018.00
8.1.290.0060.00330.84
8.1.280.0120.00925.92
8.1.270.0040.00423.99
8.1.260.0040.00428.09
8.1.250.0050.00328.09
8.1.240.0030.00619.06
8.1.230.0060.00319.01
8.0.30.0070.01416.78
8.0.20.0060.01516.79
8.0.10.0070.01116.80
8.0.00.0120.00616.81
7.4.160.0060.01516.23
7.4.150.0170.00416.17
7.4.140.0080.01216.09
7.4.130.0100.00616.04
7.4.120.0030.01216.10
7.4.110.0070.00716.09
7.4.100.0060.01016.16
7.4.90.0110.00416.09
7.4.80.0140.00016.18
7.4.70.0030.01216.06
7.4.60.0040.01115.97
7.4.50.0150.00016.00
7.4.40.0030.01215.97
7.4.30.0000.01616.09
7.4.20.0030.01116.20
7.4.10.0080.00716.11
7.4.00.0110.00416.07
7.3.280.0050.00916.03
7.3.270.0120.00816.02
7.3.260.0040.01516.01
7.3.250.0060.01015.99
7.3.240.0060.00815.90
7.3.230.0100.00315.99
7.3.220.0140.00015.90
7.3.210.0070.00715.85
7.3.200.0070.00715.93
7.3.190.0070.00715.88
7.3.180.0140.00015.92
7.3.170.0000.01415.91
7.3.160.0080.00715.80
7.3.150.0030.01215.99
7.3.140.0080.00815.97
7.3.130.0110.00415.83
7.3.120.0120.00315.93
7.3.110.0030.01015.77
7.3.100.0060.00615.90
7.3.90.0050.00916.15
7.3.80.0030.01015.96
7.3.70.0030.01016.00
7.3.60.0090.00615.95
7.3.50.0120.00316.12
7.3.40.0060.00916.00
7.3.30.0040.00916.03
7.3.20.0120.00315.95
7.3.10.0140.00316.02
7.3.00.0110.00616.04

preferences:
85.47 ms | 1067 KiB | 5 Q