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