php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #21813 OCIFetchInto() requires array result passed by reference
Submitted: 2003-01-21 20:34 UTC Modified: 2003-01-22 01:11 UTC
From: whitej at gmx dot net Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.2.3 OS: Windows 2000 SP3
Private report: No CVE-ID: None
 [2003-01-21 20:34 UTC] whitej at gmx dot net
Currently, as of 1/21/03, the documentation states that the result array used with OCIFetchInto() must be passed by reference.  Since this has changed after 4.2.0(?) and is not required (generating warnings), the documentation should be updated to explain which particular version(s) will see this phenomenon, especially for those who are upgrading or testing against multiple versions.

I understand that a note has been included by a user about this problem, but the note is not clear on the versions affected or when the change was made.

I am using PHP Version 4.2.3 on System Windows NT 5.0 build 2195 in CGI mode only loading the php_oci8.dll module.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-21 22:18 UTC] philip@php.net
Considering this function relies on a deprecated feature, this a bug in OCIFetchInto() itself.  Reclassified->Oci8 related.

From the docs for allow_call_time_pass_reference:

"This method is deprecated and is likely to be unsupported in future versions of PHP/Zend."

Also does @ suppress these type of warnings?
 [2003-01-21 23:16 UTC] sniper@php.net
Explained Philip on IRC why this really is a documentation
problem.. :)

 [2003-01-22 01:11 UTC] philip@php.net
The documentation has been updated.  This function no longer requires call time passing by reference (or any PHP functions for that matter).  Changes to the documentation can be seen here:

http://cvs.php.net/cvs.php/phpdoc/en/reference/oci8/functions/ocifetchinto.xml

Thanks for the report :)
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 14 08:01:30 2025 UTC