php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7838 ora_fetch_into($queryid, &$array) requires explicit call by reference
Submitted: 2000-11-16 05:52 UTC Modified: 2000-11-16 07:38 UTC
From: jlim at natsoft dot com dot my Assigned:
Status: Closed Package: Oracle related
PHP Version: 4.0.3pl1 OS: Windows 98
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jlim at natsoft dot com dot my
New email:
PHP Version: OS:

 

 [2000-11-16 05:52 UTC] jlim at natsoft dot com dot my
When I set:

allow_call_time_pass_reference=Off	; whether to enable the ability to force arguments to be 
; passed by reference at function-call time.  This method
; is deprecated, and is likely to be unsupported in future
; versions of PHP/Zend.  The encouraged method of specifying
; which arguments should be passed by reference is in the
; function declaration

I had a warning in my oracle code where i did the following:

   ora_fetch_into($queryid, &$array);

So I removed the ampersand and re-ran the code, but now the array never set to the oracle data. This probably means that the function declaration for $array is not declared as call by reference internally.




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-16 07:38 UTC] thies@php.net
fixed in CVS
 [2000-11-16 07:38 UTC] thies@php.net
forgot to change status
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Apr 25 00:01:27 2025 UTC