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

From: Date: Thu, 16 Nov 2000 12:38:08 +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-38332@lists.php.net to get a copy of this message
ID: 7838 Updated by: thies Reported By: jlim@natsoft.com.my Status: Open Bug Type: Oracle related Assigned To: Comments: fixed in CVS Previous Comments: --------------------------------------------------------------------------- [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 (#38332) next »