程式裡的func_num_args() 函數傳回呼叫該函數時所傳入的參數個數,以範例中的foo(10, 15, ... <?php function foo() { $numargs = func_num_args(); if ($numargs > 2) ...
確定! 回上一頁