3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function x(...$args) { var_dump($args); } function y(...$args) { x($args); } x(1,2,3);
based on 2Bjkd
Output for 7.1.25 - 7.3.1
array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3) }