<?php function foo(...$args) { var_dump($args); } $a = [1 => 1, 0 => 2]; $b = [3, 4]; foo( ...$a, ...$b );
You have javascript disabled. You will not be able to edit any code.