PHP 4.0 Bug #7838 Updated: ora_fetch_into($queryid, &$array) requires explicit call by reference

From: Date: Thu, 16 Nov 2000 12:38:39 +0000
Subject: PHP 4.0 Bug #7838 Updated: ora_fetch_into($queryid, &$array) requires explicit call by reference
Groups: php.dev 
Request: Send a blank email to php-dev+get-38333@lists.php.net to get a copy of this message
ID: 7838 Updated by: thies Reported By: jlim@natsoft.com.my Status: Closed Bug Type: Oracle related Assigned To: Comments: forgot to change status Previous Comments: --------------------------------------------------------------------------- [2000-11-16 07:38:08] thies@php.net fixed in CVS --------------------------------------------------------------------------- [2000-11-16 05:52:20] jlim@natsoft.com.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. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7838

« previous php.dev (#38333) next »