Re: OCIDefineByName() question

From: Date: Wed, 16 Aug 2000 23:18:32 +0000
Subject: Re: OCIDefineByName() question
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-2105@lists.php.net to get a copy of this message
On Wed, Aug 16, 2000 at 02:45:46PM -0700, Vince LaMonica wrote: > Using OCIDefineByName as follows: > > OCIDefineByName($stmt,"USERID",&$userid); OCIDefineByName($stmt,"USERID",$userid); will work! allow_call_time_pass_reference = false is not fully backed yet. tc > > produces this error: > > 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 ocidefinebyname(). 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 d:\w3dev\oratest2.php on line 9 > > This is using PHP4.02-dev [windows], and OCI8. Database is 7.3.4. > > I'm unclear as to what the error/warning message is trying to say. How > should I modify my ocidefinebyname() call? I do not wish to set > allow_call_time_pass_reference to true in my php.ini file simply since > this feature won't be supported in future versions. > > TIA, > > /vjl/ > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#2105) next »