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