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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 23:01:30 2024 UTC