[Pugged] Function variable question

ciapug@ciapug.org ciapug@ciapug.org
Fri, 22 Nov 2002 17:29:48 -0000


Chris Hettinger <chettinger@efr.org> said:

> function getfunky($var1, $var2, $var3){
>   // how to get funky
> }
>  
> Q: $var3 is something that may not get used every time I use this function. I am curious how to make this variable optional?
>  

Look-ey here:

http://www.php.net/manual/en/printwn/zend.arguments.variable.php

-dc