summaryrefslogtreecommitdiff
path: root/ext/standard/php_array.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/php_array.h')
-rw-r--r--ext/standard/php_array.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/ext/standard/php_array.h b/ext/standard/php_array.h
index 7ccd6e638c..4b1b9da97f 100644
--- a/ext/standard/php_array.h
+++ b/ext/standard/php_array.h
@@ -100,9 +100,16 @@ PHP_FUNCTION(array_key_exists);
PHP_FUNCTION(array_chunk);
PHP_FUNCTION(array_combine);
-HashTable* php_splice(HashTable *, int, int, zval ***, int, HashTable **);
+PHPAPI HashTable* php_splice(HashTable *, int, int, zval ***, int, HashTable **);
PHPAPI int php_array_merge(HashTable *dest, HashTable *src, int recursive TSRMLS_DC);
-int multisort_compare(const void *a, const void *b TSRMLS_DC);
+PHPAPI int php_multisort_compare(const void *a, const void *b TSRMLS_DC);
+
+#define PHP_SORT_REGULAR 0
+#define PHP_SORT_NUMERIC 1
+#define PHP_SORT_STRING 2
+#define PHP_SORT_DESC 3
+#define PHP_SORT_ASC 4
+#define PHP_SORT_LOCALE_STRING 5
ZEND_BEGIN_MODULE_GLOBALS(array)
int *multisort_flags[2];