加藤(英)と申します。 function func1($arg){} の中で func_num_args を使ったらいかがでしょうか? http://jp.php.net/manual/ja/function.func-num-args.php