PHP 4.0 Bug #7838: ora_fetch_into($queryid, &$array) requires explicit call by reference
| From: | jlim at natsoft dot com dot my | Date: | Thu, 16 Nov 2000 10:52:20 +0000 |
| Subject: | PHP 4.0 Bug #7838: ora_fetch_into($queryid, &$array) requires explicit call by reference | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-38328@lists.php.net to get a copy of this message | ||
From: jlim@natsoft.com.my
Operating system: Windows 98
PHP version: 4.0.3pl1
PHP Bug Type: Oracle related
Bug description: ora_fetch_into($queryid, &$array) requires explicit call by reference
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.
--
Edit Bug report at: http://bugs.php.net/?id=7838&edit=1