ID:          27745
 Updated by:  [EMAIL PROTECTED]
 Reported By: cjbj at hotmail dot com
 Status:      Open
 Bug Type:    Documentation problem
 PHP Version: Irrelevant
 New Comment:

Passing the variable by [call-time] reference (&$lob) is not needed,
I'll fix the example in just a moment.


Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to