diff options
author | Arpad Ray <arpad@php.net> | 2011-08-29 20:23:34 +0000 |
---|---|---|
committer | Arpad Ray <arpad@php.net> | 2011-08-29 20:23:34 +0000 |
commit | 4a6c2a8b449afa9d3e9d53e58813c441d4c04931 (patch) | |
tree | d90099e50ad5d662d35a3906c4c4fa282711fa3c /ext/standard/php_array.h | |
parent | a34e9efcfa02721f0c7270f52792cc7714b9947d (diff) | |
download | php-git-4a6c2a8b449afa9d3e9d53e58813c441d4c04931.tar.gz |
add support for SORT_NATURAL and SORT_FLAG_CASE in array sort functions
Diffstat (limited to 'ext/standard/php_array.h')
-rw-r--r-- | ext/standard/php_array.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/php_array.h b/ext/standard/php_array.h index 07a38cfd91..779536e006 100644 --- a/ext/standard/php_array.h +++ b/ext/standard/php_array.h @@ -113,6 +113,8 @@ PHPAPI int php_multisort_compare(const void *a, const void *b TSRMLS_DC); #define PHP_SORT_DESC 3 #define PHP_SORT_ASC 4 #define PHP_SORT_LOCALE_STRING 5 +#define PHP_SORT_NATURAL 6 +#define PHP_SORT_FLAG_CASE 8 ZEND_BEGIN_MODULE_GLOBALS(array) int *multisort_flags[2]; |