OCIBindByName & pass-by-reference
| From: | Laurent Drouet | Date: | Wed, 17 Sep 2003 07:01:27 +0000 |
| Subject: | OCIBindByName & pass-by-reference | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-30546@lists.php.net to get a copy of this message | ||
Hi,
My Php Version is 4.3.1
When I use ocibindbyname like below
OCIBindByName($stmt,":nb_lines_matched", $nblignes, 32)
I receive the following message :
[Tue Sep 16 13:43:01 2003] [error] PHP Warning: Call-time
pass-by-reference has been deprecated - argument passed by value; If you
would like to pass it by reference, modify the declaration of
ocibindbyname(). If you would like to enable call-time pass-by-reference,
you can set allow_call_time_pass_reference to true in your INI file.
However, future versions may not support this any longer. in
/var/www/ican/automatch.php on line 34
What is the "Good" Solution to solve it ?
Regards
Laurent Drouet