Re: Variable number of parameters
| From: | Per Jessen | Date: | Tue, 05 Aug 2008 18:42:48 +0000 |
| Subject: | Re: Variable number of parameters | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-277744@lists.php.net to get a copy of this message | ||
Philip Thompson wrote:
> This isn't exactly what I'm wanting to achieve. I don't want to send
> each parameter individually, I want to send them all at the same time..
Sounds like you want the standard varargs behaviour from C ? Where you
can "gather up" a list of arguments as a va_list and pass that as an
argument to vfprintf() et al.
/Per Jessen, Zürich