summaryrefslogtreecommitdiff
path: root/ext/oracle
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>2000-11-16 12:37:35 +0000
committerThies C. Arntzen <thies@php.net>2000-11-16 12:37:35 +0000
commit6f79fc7d46e152ffcb0eb804e682c0015986d0ab (patch)
tree7a7da31349503300d6cc3b30272a7eddb099bf25 /ext/oracle
parent6a8109531360051e87d707e8dfae35211413bb25 (diff)
downloadphp-git-6f79fc7d46e152ffcb0eb804e682c0015986d0ab.tar.gz
fix ora_fetch_into to allow_call_time_pass_reference = Off; (#7838)
Diffstat (limited to 'ext/oracle')
-rw-r--r--ext/oracle/oracle.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/ext/oracle/oracle.c b/ext/oracle/oracle.c
index d1618e3138..a36071b3c6 100644
--- a/ext/oracle/oracle.c
+++ b/ext/oracle/oracle.c
@@ -115,7 +115,7 @@ function_entry oracle_functions[] = {
PHP_FE(ora_errorcode, NULL)
PHP_FE(ora_exec, NULL)
PHP_FE(ora_fetch, NULL)
- PHP_FE(ora_fetch_into, NULL)
+ PHP_FE(ora_fetch_into, second_arg_force_ref)
PHP_FE(ora_columntype, NULL)
PHP_FE(ora_columnname, NULL)
PHP_FE(ora_columnsize, NULL)
@@ -1077,11 +1077,6 @@ PHP_FUNCTION(ora_fetch_into)
break;
}
- if (! ParameterPassedByReference(ht, 2)){
- php_error(E_WARNING, "Array not passed by reference in call to ora_fetch_into()");
- RETURN_FALSE;
- }
-
/* Find the cursor */
if ((cursor = ora_get_cursor(&EG(regular_list), curs)) == NULL) {
RETURN_FALSE;