<?php function numbers($first, $second, ...$third) { var_dump($first, $second, $third); echo '-=-=-=-=-=-=-=' . PHP_EOL; } numbers(1, 2, [3, 4]); numbers(1, 2, numbers: [2, 3, 4]); numbers(second: 2, first: 1, third: [2, 3, 4]);
You have javascript disabled. You will not be able to edit any code.