summaryrefslogtreecommitdiff
path: root/ext/standard/array.c
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2009-02-13 22:34:15 +0000
committerAndrei Zmievski <andrei@php.net>2009-02-13 22:34:15 +0000
commitc2445f4122e1d53d807414485c94395edf8ecb0b (patch)
tree5026b8c218d7912feb88f50a18b0b91479c03aa9 /ext/standard/array.c
parentdb2f7c555906e17c47a0128ef77c687a2a947fe8 (diff)
downloadphp-git-c2445f4122e1d53d807414485c94395edf8ecb0b.tar.gz
Revert bogus fix for #47370.
Diffstat (limited to 'ext/standard/array.c')
-rw-r--r--ext/standard/array.c2
1 files changed, 1 insertions, 1 deletions
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;