[UPHPU] pass variables into a function

Wade Preston Shearer wadeshearer.lists at me.com
Fri Jan 9 13:51:58 MST 2009


On 9 Jan 2009, at 13:50, Jim Anderson wrote:

> can you do what you want using a function that accepts a variable  
> set of parameters? that would be my first attempt, but might not be  
> doable if you are requiring the default $a value.

I believe I can make it work by making the function accept only one  
parameter and making that variable an array.

What do you mean by a function that accepts a variable set of  
parameters?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2431 bytes
Desc: not available
Url : http://uphpu.org/pipermail/uphpu/attachments/20090109/0bbc7cac/smime.bin


More information about the UPHPU mailing list