Revert bogus fix for #47370.

This commit is contained in:
Andrei Zmievski 2009-02-13 22:34:15 +00:00
parent db2f7c5559
commit c2445f4122

View File

@ -2697,7 +2697,7 @@ PHP_FUNCTION(array_unique)
};
struct bucketindex *arTmp, *cmpdata, *lastkept;
unsigned int i;
long sort_type = PHP_SORT_STRING;
long sort_type = PHP_SORT_REGULAR;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a|l", &array, &sort_type) == FAILURE) {
return;