Forum Moderators: coopster
I've run across a php function script on the web which has an ampersand (&) infront of a number of vars passed to it.
Like this:
function thisFunc ($varOne, $varTwo, &$varThree, &$varFour)
{
do this;
do that;
...
}
I've never run across a VAR that's preceded by an '&' and am just wondering about it's functionality and in what cases is it appropriate to use.
Any enlightenment greatly appreciated.
Neophyte
Good luck!