Posted by Markus L. on 10/10/48 11:17
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
-------------------------------------------------------
[Back to original message]
|