3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo($a, $b) { var_dump($a, $b); } function bar($args) { foo(...$args); } function baz(...$args) { foo(...$args); } bar(['b'=> 'bee', 'a' => 'wahey']); baz(b: 'bee', a: 'wahey');

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.80.0040.00418.18
8.3.70.0100.00716.58
8.3.60.0110.00416.50
8.3.50.0070.01420.03
8.3.40.0090.00618.55
8.3.30.0070.00718.53
8.3.20.0060.00324.18
8.3.10.0050.00324.66
8.3.00.0040.00426.16
8.2.200.0060.00318.17
8.2.190.0140.00716.63
8.2.180.0200.00325.92
8.2.170.0090.00618.88
8.2.160.0070.01022.96
8.2.150.0080.00025.66
8.2.140.0070.00724.66
8.2.130.0000.00726.16
8.2.120.0120.00626.16
8.2.110.0080.00319.31
8.2.100.0000.01217.78
8.2.90.0000.00819.10
8.2.80.0030.00517.97
8.2.70.0030.00617.25
8.2.60.0080.00017.38
8.2.50.0080.00017.98
8.2.40.0070.00317.95
8.2.30.0000.00817.97
8.2.20.0030.00520.46
8.2.10.0000.00717.84
8.2.00.0000.00719.09
8.1.290.0000.01430.84
8.1.280.0100.00725.92
8.1.270.0080.00023.99
8.1.260.0000.00726.35
8.1.250.0070.00028.09
8.1.240.0060.00322.72
8.1.230.0040.00717.70
8.1.220.0000.01117.74
8.1.210.0040.00418.77
8.1.200.0090.00017.23
8.1.190.0030.00617.22
8.1.180.0040.00418.10
8.1.170.0040.00417.62
8.1.160.0000.00718.71
8.1.150.0080.00018.41
8.1.140.0050.00317.31
8.1.130.0040.00418.67
8.1.120.0030.00617.34
8.1.110.0000.00717.33
8.1.100.0000.00817.39
8.1.90.0000.00817.40
8.1.80.0000.00817.29
8.1.70.0120.00317.25
8.1.60.0080.00317.48
8.1.50.0100.00017.33
8.1.40.0000.01017.42
8.1.30.0080.00317.62
8.1.20.0100.00717.35
8.1.10.0080.00417.37
8.1.00.0100.00317.30
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0040.00418.36
8.0.270.0070.00016.66
8.0.260.0000.00618.37
8.0.250.0000.00716.80
8.0.240.0030.00616.88
8.0.230.0000.00716.77
8.0.220.0050.00216.88
8.0.210.0040.00416.76
8.0.200.0110.00016.70
8.0.190.0130.00016.85
8.0.180.0160.00016.77
8.0.170.0100.00516.79
8.0.160.0110.00416.59
8.0.150.0120.00316.58
8.0.140.0130.00316.66
8.0.130.0080.00416.75
8.0.120.0050.01016.90
8.0.110.0070.01016.81
8.0.100.0150.00016.75
8.0.90.0050.01116.81
8.0.80.0110.00416.63
8.0.70.0100.00516.59
8.0.60.0090.00716.71
8.0.50.0070.00716.68
8.0.30.0110.00416.69
8.0.20.0090.00516.84
8.0.10.0100.00516.68
7.4.330.0000.00615.55
7.4.320.0000.00716.38
7.4.300.0050.00516.41
7.4.290.0120.00316.30
7.4.280.0150.00016.42
7.4.270.0000.01116.43
7.4.260.0030.00616.33
7.4.250.0000.00816.38
7.4.240.0090.00316.33
7.4.230.0110.00316.37
7.4.220.0100.00316.34
7.4.210.0060.00816.42
7.4.200.0110.00416.25
7.4.190.0160.00016.43
7.4.180.0110.00416.39
7.4.160.0120.00416.37
7.4.150.0040.00916.32
7.4.140.0000.01016.31
7.4.130.0090.00016.13
7.4.120.0030.00716.03
7.4.110.0040.00816.11
7.4.100.0050.00216.27
7.4.90.0070.00316.05
7.4.80.0000.01016.17
7.4.70.0080.00016.09
7.4.60.0000.00916.30
7.4.50.0060.00316.16
7.4.40.0060.00616.07
7.4.30.0130.00016.21
7.4.20.0080.00016.08
7.4.10.0000.00816.16
7.4.00.0100.00316.20

preferences:
30.49 ms | 401 KiB | 5 Q