Two php functions may help, func_num_args() and func_get_args(). For
example,

  $numargs = func_num_args();
  $arg_list = func_get_args();

Kirk

> -----Original Message-----
> From: Kurt Lieber [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 25, 2001 4:58 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] account for missing/optional arguments in functions?
> 
> 
> Is it possible to account/trap missing arguments in functions?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to