From 3ac0ae9dff89bc77a7654fc969ff05ebdf7f1369 Mon Sep 17 00:00:00 2001 From: Andrei Zmievski Date: Tue, 11 Jul 2000 16:48:03 +0000 Subject: @- Improved array_multisort() to be able to specify sort type as well sort @ order. Incidentally, it can be used to sort multi-dimensional arrays @ as well. (Andrei) --- ext/standard/php_array.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/standard/php_array.h') diff --git a/ext/standard/php_array.h b/ext/standard/php_array.h index 66bbc73844..001c7dcd5a 100644 --- a/ext/standard/php_array.h +++ b/ext/standard/php_array.h @@ -77,7 +77,7 @@ HashTable* php_splice(HashTable *, int, int, zval ***, int, HashTable **); int multisort_compare(const void *a, const void *b); typedef struct { - int *multisort_flags; + int *multisort_flags[2]; int (*compare_func)(zval *result, zval *op1, zval *op2); } php_array_globals; -- cgit v1.2.1