Re: [PHP-DB] pass by reference

2003-10-09 Thread Ignatius Reilly
sday, 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 > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] pass by reference

2003-10-09 Thread Jennifer Goodie
> 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 > Call time pass by refrence is depreciated you should read the manual to see how it should be done. http://www.php.net/manual/en/language.references

Re: [PHP-DB] pass by reference

2003-10-09 Thread Chris Boget
> 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 -- PHP Database Mailing

[PHP-DB] pass by reference

2003-10-09 Thread Jeremy Shovan
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