Re: #27745 [Csd]: OCI8 doc for oci_new_descriptor uses call-time reference parameter

From: Date: Mon, 29 Mar 2004 09:14:04 +0000
Subject: Re: #27745 [Csd]: OCI8 doc for oci_new_descriptor uses call-time reference parameter
References: 1 2  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969359807@lists.php.net to get a copy of this message
Thanks for doing my job =) On 29 Mar 2004 07:14:01 -0000 irchtml@php.net wrote: > ID: 27745 > Updated by: irchtml@php.net > Reported By: cjbj at hotmail dot com > Status: Closed > Bug Type: Documentation problem > PHP Version: Irrelevant > New Comment: > > This bug has been fixed in the documentation's XML sources. Since the > online and downloadable versions of the documentation need some time > to get updated, we would like to ask you to be a bit patient. > > Thank you for the report, and for helping us make our documentation > better. > > > > > Previous Comments: > ------------------------------------------------------------------------ > > [2004-03-29 02:10:58] irchtml@php.net > > Passing the variable by [call-time] reference (&$lob) is not needed, > I'll fix the example in just a moment. > > ------------------------------------------------------------------------ > > [2004-03-29 02:04:20] cjbj at hotmail dot com > > Looks like it still assumes access to global variables too. > If I may presume, there is a related example that doesn't > have these problems at > > http://otn.oracle.com/tech/opensource/php/php_troubleshooting_faq.html#uplobs > > ------------------------------------------------------------------------ > > [2004-03-29 01:59:27] cjbj at hotmail dot com > > Description: > ------------ > The example in the newly revamped manual entry > http://www.php.net/manual/en/function.oci-new-descriptor.php > has the line: > > oci_bind_by_name($stmt, ':the_blob', &$lob, -1, OCI_B_BLOB); > > Using this syntax I get "Warning: Call-time pass-by-reference has been > deprecated" > > > > > ------------------------------------------------------------------------ > > > -- > Edit this bug report at > http://bugs.php.net/?id=27745&edit=1 --- WBR, Antony Dovgal aka tony2001 tony2001@phpclub.net || antony@dovgal.com

« previous php.doc (#969359807) next »