PHP 4 新支援了可變長度的參數用法(Variable-length argument lists),我們直接以一個 ... <?php function foo() { $numargs = func_num_args(); if ($numargs > 2) ...
確定! 回上一頁