php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3894 modify the declaration of odbc_fetch_into().
Submitted: 2000-03-22 09:30 UTC Modified: 2000-07-25 21:52 UTC
From: roly at isoft dot co dot za Assigned:
Status: Closed Package: ODBC related
PHP Version: 4.0 Beta 4 Patch Level 1 OS: WinNT 4
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: roly at isoft dot co dot za
New email:
PHP Version: OS:

 

 [2000-03-22 09:30 UTC] roly at isoft dot co dot za
while($err = odbc_fetch_into($res,&$rec_array)) 
This line generates the following warning:

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of odbc_fetch_into(). If you would like to enable call-time pass-by-reference, you can setallow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer.

How do I modify the declaration of odbc_fetch_into() - It's not my function ? 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-25 21:52 UTC] zak@php.net
You do not need to modify the odbc_fetch_into function - you only need to modify your call to the function by removing the & from &$rec_array.

i.e.
Change:
   odbc_fetch_into($res,&$rec_array) 
To:
   odbc_fetch_into($res, $rec_array)


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 05:01:33 2025 UTC