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