summaryrefslogtreecommitdiff
path: root/ext/mbstring/php_unicode.h
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2018-05-25 11:33:13 +0200
committerNikita Popov <nikita.ppv@gmail.com>2018-05-25 11:33:13 +0200
commit9d63f4dec1d180f2a9533d8b7b6b5c445917aee2 (patch)
tree1a6e21bd4b3f0d2e3a252eb24b6abaf14cb24b08 /ext/mbstring/php_unicode.h
parent3382424903e911fd7e3e193f1e5e141aab9ca666 (diff)
downloadphp-git-9d63f4dec1d180f2a9533d8b7b6b5c445917aee2.tar.gz
Fixed bug #76319
While at it, also make sure that mbstring case conversion takes into account the specified substitution character and substitution mode.
Diffstat (limited to 'ext/mbstring/php_unicode.h')
-rw-r--r--ext/mbstring/php_unicode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mbstring/php_unicode.h b/ext/mbstring/php_unicode.h
index 8868176fa1..68dff61da4 100644
--- a/ext/mbstring/php_unicode.h
+++ b/ext/mbstring/php_unicode.h
@@ -87,8 +87,8 @@ MBSTRING_API int php_unicode_is_prop(unsigned long code, ...);
MBSTRING_API int php_unicode_is_prop1(unsigned long code, int prop);
MBSTRING_API char *php_unicode_convert_case(
- int case_mode, const char *srcstr, size_t srclen, size_t *retlen,
- const mbfl_encoding *src_encoding);
+ int case_mode, const char *srcstr, size_t srclen, size_t *ret_len,
+ const mbfl_encoding *src_encoding, int illegal_mode, int illegal_substchar);
#define PHP_UNICODE_CASE_UPPER 0
#define PHP_UNICODE_CASE_LOWER 1