3v4l.org

run code in 300+ PHP versions simultaneously
<?php function tester($a, $b) { var_dump($a, $b); } $arr = ["test" => 1, "test2" => 2]; tester(...$arr);

preferences:
41.61 ms | 402 KiB | 5 Q