|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-16 07:38 UTC]
fixed in CVS
 [2000-11-16 07:38 UTC]
forgot to change status
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Sep 27 02:03:36 2021 UTC