From: Moriyoshi Koizumi Date: Fri, 15 May 2009 17:03:43 +0000 (+0000) Subject: - MFH: Roll it back. X-Git-Tag: php-5.2.10RC1~69 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ebb304ed574f767064e8cc004df9f99d7756e83;p=php - MFH: Roll it back. --- diff --git a/ext/standard/array.c b/ext/standard/array.c index 2c926f8c39..4604cdb942 100644 --- a/ext/standard/array.c +++ b/ext/standard/array.c @@ -2839,7 +2839,7 @@ PHP_FUNCTION(array_unique) }; struct bucketindex *arTmp, *cmpdata, *lastkept; unsigned int i; - long sort_type = SORT_REGULAR; + long sort_type = SORT_STRING; if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Z|l", &array, &sort_type) == FAILURE) { return;