Re: pass by reference

From: Date: Thu, 09 Oct 2003 20:31:30 +0000
Subject: Re: pass by reference
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-30942@lists.php.net to get a copy of this message
Specify it only at function definition: myFunction( &$var1, &$var2 ) { // ... } $var = myFunction( $var1, $var2 ) ; Ignatius _________________________ ----- Original Message ----- From: "Jeremy Shovan" <jeremy@image2020.com> To: <php-db@lists.php.net> Sent: Thursday, October 09, 2003 9:54 PM Subject: [PHP-DB] pass by reference > 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 >

« previous php.db (#30942) next »