diff options
author | Andrei Zmievski <andrei@php.net> | 2000-05-18 00:47:57 +0000 |
---|---|---|
committer | Andrei Zmievski <andrei@php.net> | 2000-05-18 00:47:57 +0000 |
commit | a859e83392cdb34fd8c05eac588e0f4c7b8747b9 (patch) | |
tree | 2aa5c730dead0b632c02577025be3fe981fe81bc /ext/standard/php_array.h | |
parent | a8bb2a86b1c67b287ba7ea79cae69412b35de897 (diff) | |
download | php-git-a859e83392cdb34fd8c05eac588e0f4c7b8747b9.tar.gz |
Update for sort functions - user can now specify sort type.
Diffstat (limited to 'ext/standard/php_array.h')
-rw-r--r-- | ext/standard/php_array.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/standard/php_array.h b/ext/standard/php_array.h index 519b4b33af..2d9d6607e0 100644 --- a/ext/standard/php_array.h +++ b/ext/standard/php_array.h @@ -69,11 +69,12 @@ PHP_FUNCTION(array_pad); PHP_FUNCTION(array_flip); PHP_FUNCTION(array_rand); -HashTable* _phpi_splice(HashTable *, int, int, zval ***, int, HashTable **); +HashTable* php_splice(HashTable *, int, int, zval ***, int, HashTable **); int multisort_compare(const void *a, const void *b); typedef struct { int *multisort_flags; + int (*compare_func)(zval *result, zval *op1, zval *op2); } php_array_globals; #ifdef ZTS |