#21813 [Opn]: OCIFetchInto() requires array result passed by reference
| From: | sniper@php.net | Date: | Wed, 22 Jan 2003 05:16:59 +0000 |
| Subject: | #21813 [Opn]: OCIFetchInto() requires array result passed by reference | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969351176@lists.php.net to get a copy of this message | ||
ID: 21813
Updated by: sniper@php.net
Reported By: whitej@gmx.net
Status: Open
-Bug Type: OCI8 related
+Bug Type: Documentation problem
Operating System: Windows 2000 SP3
PHP Version: 4.2.3
New Comment:
Explained Philip on IRC why this really is a documentation
problem.. :)
Previous Comments:
------------------------------------------------------------------------
[2003-01-21 22:18:42] 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 20:34:54] whitej@gmx.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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21813&edit=1