<?php function f(...$args) { var_dump($args); } function test() { $data = [ 1 => 20, 0 => 10]; f(...$data); } test();
You have javascript disabled. You will not be able to edit any code.