diff --git a/ext/oracle/oracle.c b/ext/oracle/oracle.c index d1618e313855e..a36071b3c65c7 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;