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 this is not your bug, you can add a comment by following this link.
If this is your bug, but 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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 07:01:27 2024 UTC