mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
* MFH: Fix bug #47370 (BC breakage of array_unique())
This commit is contained in:
parent
d923ea471f
commit
018ba64ada
1 changed files with 1 additions and 1 deletions
|
@ -2697,7 +2697,7 @@ PHP_FUNCTION(array_unique)
|
|||
};
|
||||
struct bucketindex *arTmp, *cmpdata, *lastkept;
|
||||
unsigned int i;
|
||||
long sort_type = PHP_SORT_REGULAR;
|
||||
long sort_type = PHP_SORT_STRING;
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a|l", &array, &sort_type) == FAILURE) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue