]> granicus.if.org Git - php/commitdiff
* MFH: Roll it back.
authorMoriyoshi Koizumi <moriyoshi@php.net>
Fri, 15 May 2009 17:03:03 +0000 (17:03 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Fri, 15 May 2009 17:03:03 +0000 (17:03 +0000)
ext/standard/array.c

index d39c0e6bead633640eb38d94ba363526ac48950a..798895e180e86647f143d7f8d05a4dd6a657baf9 100644 (file)
@@ -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;