Re: pass by reference

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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.pass.php

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux