3v4l.org

run code in 500+ PHP versions simultaneously
<?php function foo(...$args) { echo $args['a b' ] ?? $args['a$b'] ?? $args['我']; } foo(...['a b' => 'c']); // c foo(...['a$b' => 'd']); // d foo(我: 3); // 3 ?>

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.60.0030.00416.64
8.5.50.0110.00516.55
8.5.30.0090.00818.03
8.5.20.0090.00819.29
8.5.10.0120.00516.73
8.5.00.0130.00819.93
8.4.210.0090.00919.49
8.4.180.0080.01422.45
8.4.170.0090.00223.84
8.4.160.0110.01323.93
8.4.150.0080.00416.87
8.4.140.0130.00817.20
8.4.130.0120.00917.45
8.4.120.0110.00822.35
8.4.110.0150.00722.36
8.4.100.0170.00718.35
8.4.90.0120.00819.85
8.4.80.0130.00618.55
8.4.70.0130.00918.37
8.4.60.0130.00917.58
8.4.50.0140.00818.49
8.4.40.0250.00718.27
8.4.30.0230.00817.14
8.4.20.0190.00617.42
8.4.10.0190.00717.38
8.3.300.0100.00918.49
8.3.290.0110.01018.35
8.3.280.0130.00618.24
8.3.270.0110.00816.49
8.3.260.0030.00516.45
8.3.250.0130.00618.96
8.3.240.0080.01117.21
8.3.230.0160.00416.54
8.3.220.0130.00616.56
8.3.210.0120.00616.35
8.3.200.0110.00416.37
8.3.190.0140.00616.49
8.3.180.0140.00617.32
8.3.170.0120.00317.59
8.3.160.0180.00616.44
8.3.150.0200.00316.23
8.3.140.0210.00217.36
8.3.130.0160.00416.48
8.3.120.0160.00416.56
8.3.110.0130.00716.19
8.3.100.0180.00417.28
8.3.90.0190.00316.58
8.3.80.0180.00316.35
8.3.70.0180.00416.30
8.3.60.0160.00516.33
8.3.50.0160.00616.34
8.3.40.0190.00117.30
8.3.30.0170.00217.38
8.3.20.0150.00517.16
8.3.10.0140.00717.17
8.3.00.0130.00517.28
8.2.300.0110.00917.96
8.2.290.0070.00720.31
8.2.280.0120.00517.40
8.2.270.0160.00516.44
8.2.260.0150.00317.26
8.2.250.0150.00416.61
8.2.240.0130.00516.19
8.2.230.0170.00316.98
8.2.220.0150.00316.41
8.2.210.0110.00716.58
8.2.200.0120.00516.25
8.2.190.0140.00417.18
8.2.180.0130.00416.13
8.2.170.0170.00317.49
8.2.160.0150.00517.52
8.2.150.0150.00517.52
8.2.140.0130.00617.32
8.2.130.0150.00417.34
8.2.120.0160.00317.43
8.2.110.0180.00217.40
8.2.100.0130.00617.37
8.2.90.0150.00417.42
8.2.80.0150.00617.36
8.2.70.0120.00717.41
8.2.60.0140.00517.54
8.2.50.0160.00417.19
8.2.40.0170.00317.40
8.2.30.0160.00417.27
8.2.20.0160.00417.33
8.2.10.0100.00717.27
8.2.00.0160.00117.44
8.1.340.0100.01017.51

preferences:
46.2 ms | 845 KiB | 5 Q