Posted
Filed under 프로그래밍/PHP
function test2($a, ...$b)
 {
    print_r($b);
 }
test2('a','b','c','e');


결과
Array ( [0] => b [1] => c [2] => e )


2020/09/15 15:48 2020/09/15 15:48