variable argument list



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?

--
maxlego
.



Relevant Pages

  • Re: variable argument list
    ... > void f ... How can I do something similar (ellipsis in ... SCA the Smart Class Archive for PHP ... Prev by Date: ...
    (alt.php)
  • Re: [PHP] Forwarding $_POST[]...
    ... Jim, perhaps I'm missing something that you're hinting at, ... represented by the ellipsis, but why redefine the superglobal to a ...
    (php.general)