diff options
author | Andrei Zmievski <andrei@php.net> | 2000-07-11 16:48:03 +0000 |
---|---|---|
committer | Andrei Zmievski <andrei@php.net> | 2000-07-11 16:48:03 +0000 |
commit | 3ac0ae9dff89bc77a7654fc969ff05ebdf7f1369 (patch) | |
tree | 3845db88142716ac861ead9781b7f6b80ed71e8a /ext/standard/php_array.h | |
parent | 351386662793af2c785fb668c31738b0e12f6aee (diff) | |
download | php-git-3ac0ae9dff89bc77a7654fc969ff05ebdf7f1369.tar.gz |
@- 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)
Diffstat (limited to 'ext/standard/php_array.h')
-rw-r--r-- | ext/standard/php_array.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |