mirror of
https://github.com/php/php-src.git
synced 2026-04-05 07:02:33 +02:00
fixed default for mysqli_fetch_array
This commit is contained in:
@@ -621,7 +621,7 @@ void php_mysqli_fetch_into_hash(INTERNAL_FUNCTION_PARAMETERS, int override_flags
|
||||
}
|
||||
fetchtype = override_flags;
|
||||
} else {
|
||||
fetchtype = MYSQLI_ASSOC;
|
||||
fetchtype = MYSQLI_BOTH;
|
||||
if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "O|l", &mysql_result, mysqli_result_class_entry, &fetchtype) == FAILURE) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user