Re: variable argument list
- From: "Markus L." <nobody@xxxxxxxxxxxxxxx>
- Date: Tue, 31 May 2005 22:04:08 +0200
Am Tue, 31 May 2005 22:46:05 +0300 schrieb maxlego:
> Hi
>
> void f(...)
> { }
>
> f(1, 2, 3, "a", "b");
>
> This is piece of C code. How can I do something similar (ellipsis in
> function argument list) in PHP?
Look at this function:
func_get_args()
--
-------------------------------------------------------
Try this: SCA the Smart Class Archive for PHP
http://www.project-sca.org
-------------------------------------------------------
.
- References:
- variable argument list
- From: maxlego
- variable argument list
- Prev by Date: Calendar import/export
- Next by Date: what is the proper function for this
- Previous by thread: variable argument list
- Next by thread: Calendar import/export
- Index(es):
Relevant Pages
|