php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #27745 OCI8 doc for oci_new_descriptor uses call-time reference parameter
Submitted: 2004-03-29 01:59 UTC Modified: 2004-03-29 02:14 UTC
From: cjbj at hotmail dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cjbj at hotmail dot com
New email:
PHP Version: OS:

 

 [2004-03-29 01:59 UTC] 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"



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-29 02:04 UTC] 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 02:10 UTC] 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:14 UTC] irchtml@php.net
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.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Nov 19 19:00:01 2025 UTC