summaryrefslogtreecommitdiff
path: root/ext/mbstring/php_unicode.h
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2017-07-27 20:39:14 +0200
committerNikita Popov <nikita.ppv@gmail.com>2017-07-28 12:32:50 +0200
commit9ac7c1e71d956ddac63b042be6ad8b105e584c10 (patch)
treee806a1d4a179dfbc3e45e6f403d363055b0e575f /ext/mbstring/php_unicode.h
parent80a0601fe52b9dddbef34a168a2c1136177bda23 (diff)
downloadphp-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.h1
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 */