From: Andrei Zmievski Date: Fri, 13 Feb 2009 22:34:15 +0000 (+0000) Subject: Revert bogus fix for #47370. X-Git-Tag: RELEASE_1_3_5~129 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c2445f4122e1d53d807414485c94395edf8ecb0b;p=php Revert bogus fix for #47370. --- diff --git a/ext/standard/array.c b/ext/standard/array.c index 858a9fc9c0..4337fd3dc6 100644 --- a/ext/standard/array.c +++ b/ext/standard/array.c @@ -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;