Page 1 of 1

PHPDoc for arbitrary number of arguments?

Posted: Sun Jan 31, 2010 5:54 am
by kaisellgren
Hi,

I was wondering if there's a "standard" way to document an arbitrary number of arguments (I'm using func_get_args())?

Re: PHPDoc for arbitrary number of arguments?

Posted: Sun Jan 31, 2010 11:53 am
by AbraCadaver
kaisellgren wrote:Hi,

I was wondering if there's a "standard" way to document an arbitrary number of arguments (I'm using func_get_args())?
phpdoc.org manual shows:

Code: Select all

/**
 * @param mixed $varname,... unlimited OPTIONAL number of additional variables
 */