I am trying to pass multiple references to a function, and am currently using the method
func(array(&$var1, &$var2, &$var3));
I'm wondering if there is any way to shortcut the reference delaration, maybe something like
func(array &($var1, $var2, $var3)); ??
I don't think i can put the ref declaration as part of the function argument, since i'm sending it an array with the list of references. I figure the array will get referenced at that point..
am i stuck with adding & to the beginning of all my vars? or is there something else i can do?
thanks for any info..
-Syn