Re: pass by reference
| From: | Chris Boget | Date: | Thu, 09 Oct 2003 20:24:46 +0000 |
| Subject: | Re: pass by reference | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-30940@lists.php.net to get a copy of this message | ||
> How do you pass by reference? I tried
> $var = myFunction(&$var1, &$var2);
> but it gave me a warning saying that pass by reference is depreciated
function myFunction( &$var1, &$var2 ) {
}
You now have to do it in the function definition, not the function call.
Chris