From: Moriyoshi Koizumi Date: Fri, 15 May 2009 17:03:03 +0000 (+0000) Subject: * MFH: Roll it back. X-Git-Tag: php-5.3.0RC3~249 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fcede921b611444cf7e603d81e5cf603ea2ce1d1;p=php * MFH: Roll it back. --- diff --git a/ext/standard/array.c b/ext/standard/array.c index d39c0e6bea..798895e180 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_REGULAR; + long sort_type = PHP_SORT_STRING; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "a|l", &array, &sort_type) == FAILURE) { return;