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

From: Date: Mon, 29 Mar 2004 07:13:43 +0000
Subject: #27745 [Opn->Csd]: OCI8 doc for oci_new_descriptor uses call-time reference parameter
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969359802@lists.php.net to get a copy of this message
ID: 27745 Updated by: irchtml@php.net Reported By: cjbj at hotmail dot com -Status: Open +Status: Closed Bug Type: Documentation problem PHP Version: Irrelevant 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

« previous php.doc (#969359802) next »