3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo(...$args) { var_dump($args); } foo(...[1, 2, 3]); foo(...[1, 2, 3], ...[4]); foo(...[1, 2, 3], 4);

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)
7.1.10.0160.06022.41
7.1.00.0170.05022.50
7.0.140.0130.05522.06
7.0.130.0100.05522.14
7.0.120.0100.06822.03
7.0.110.0120.05822.02
7.0.100.0100.05521.99
7.0.90.0100.05722.10
7.0.80.0170.05522.11
7.0.70.0130.05221.97
7.0.60.0120.05321.94
7.0.50.0070.05821.99
7.0.40.0150.06022.06
7.0.30.0080.05722.16
7.0.20.0130.07022.12
7.0.10.0150.06322.15
7.0.00.0170.05022.06

preferences:
160.81 ms | 1155 KiB | 7 Q