diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2017-07-27 20:39:14 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2017-07-28 12:32:50 +0200 |
commit | 9ac7c1e71d956ddac63b042be6ad8b105e584c10 (patch) | |
tree | e806a1d4a179dfbc3e45e6f403d363055b0e575f /ext/mbstring/php_unicode.h | |
parent | 80a0601fe52b9dddbef34a168a2c1136177bda23 (diff) | |
download | php-git-9ac7c1e71d956ddac63b042be6ad8b105e584c10.tar.gz |
Use case-folding for case insensitive comparisons
Instead of using lowercasing.
Diffstat (limited to 'ext/mbstring/php_unicode.h')
-rw-r--r-- | ext/mbstring/php_unicode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mbstring/php_unicode.h b/ext/mbstring/php_unicode.h index 5a4f702051..51978e37d7 100644 --- a/ext/mbstring/php_unicode.h +++ b/ext/mbstring/php_unicode.h @@ -88,6 +88,7 @@ MBSTRING_API char *php_unicode_convert_case( #define PHP_UNICODE_CASE_UPPER 0 #define PHP_UNICODE_CASE_LOWER 1 #define PHP_UNICODE_CASE_TITLE 2 +#define PHP_UNICODE_CASE_FOLD 3 /* Optimize the common ASCII case for lower/upper */ |