3v4l.org

run code in 500+ PHP versions simultaneously
<?php function foo($a, $b, $c) { return func_get_args(); } $input = ['b' => 'b', 'c' => 'c']; var_dump(foo(...$input, a: '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.5.70.0050.00416.73
8.5.60.0100.01016.64
8.5.50.0050.00216.75
8.5.30.0100.00719.92
8.5.20.0100.00819.62
8.5.10.0080.00918.54
8.5.00.0110.01019.73
8.4.220.0160.00619.54
8.4.210.0050.00819.49
8.4.180.0130.01019.63
8.4.170.0090.01221.79
8.4.160.0130.00923.10
8.4.150.0080.00516.87
8.4.140.0070.01317.57
8.4.130.0160.00617.95
8.4.120.0090.01220.54
8.4.110.0160.00422.41
8.4.100.0100.00917.80
8.4.90.0070.00418.63
8.4.80.0050.00319.51
8.4.70.0150.00517.81
8.4.60.0160.00520.64
8.4.50.0140.00619.25
8.4.40.0100.01017.50
8.4.30.0070.00320.36
8.4.20.0080.00017.85
8.4.10.0060.00319.64
8.3.300.0140.01118.11
8.3.290.0130.00720.79
8.3.280.0130.00918.28
8.3.270.0140.00516.72
8.3.260.0060.00316.49
8.3.250.0140.00418.96
8.3.240.0120.00716.49
8.3.230.0120.00816.85
8.3.220.0090.00817.13
8.3.210.0030.00516.75
8.3.200.0030.00616.57
8.3.190.0090.01116.73
8.3.180.0100.01016.50
8.3.170.0140.00417.18
8.3.160.0140.00618.39
8.3.150.0120.00618.80
8.3.140.0040.00418.42
8.3.130.0080.00016.70
8.3.120.0060.00320.70
8.3.110.0030.00522.58
8.3.100.0090.00622.58
8.3.90.0090.00922.58
8.3.50.0080.00022.58
8.2.300.0120.00818.07
8.2.290.0140.00420.41
8.2.280.0140.00719.98
8.2.270.0050.00316.95
8.2.260.0040.00418.26
8.2.250.0060.00316.69
8.2.240.0040.00418.89
8.2.230.0040.00422.58
8.2.220.0030.00622.58
8.2.210.0060.00322.58
8.1.340.0090.01117.53
8.1.330.0090.01121.83
8.1.320.0120.00617.72
8.1.310.0060.01218.21
8.1.300.0060.00315.94
8.1.10.0000.00717.38
8.1.00.0040.00417.30
8.0.140.0030.00316.77
8.0.130.0000.00716.83
8.0.120.0000.00716.82
8.0.110.0020.00516.75
8.0.100.0030.00416.72
8.0.90.0000.00816.76
8.0.80.0030.00516.84
8.0.70.0000.00716.66
8.0.60.0070.00016.73
8.0.50.0050.00316.88
8.0.30.0000.00716.63
8.0.20.0000.00816.82
8.0.10.0040.00416.88
7.4.270.0070.00016.42
7.4.260.0000.00716.39
7.4.250.0030.00316.32
7.4.240.0030.00516.39
7.4.230.0030.00316.43
7.4.220.0030.00516.25
7.4.210.0070.00016.41
7.4.200.0000.00816.34
7.4.190.0030.00316.38
7.4.180.0030.00316.41
7.4.160.0000.00716.32
7.4.150.0070.00016.42
7.4.140.0000.00716.36
7.4.130.0050.00316.16
7.4.120.0000.00716.31
7.4.110.0000.00716.34
7.4.100.0070.00016.32
7.4.90.0060.00016.20
7.4.80.0000.00716.17
7.4.70.0070.00016.13
7.4.60.0000.00616.09
7.4.50.0030.00316.28
7.4.40.0000.00716.14
7.4.30.0050.00316.21
7.4.20.0030.00316.09
7.4.10.0000.00716.21
7.4.00.0030.00316.23

preferences:
37.76 ms | 930 KiB | 5 Q