diff options
author | Masaki Kagaya <masakielastic@gmail.com> | 2015-03-01 21:43:09 +0900 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2016-07-17 14:19:45 +0200 |
commit | ee6ccea3eb1d74cd82131ac4beef86d4930b51d0 (patch) | |
tree | dff03f1d2c1752ba6024b051917466f34b487d3c /ext/mbstring/mbstring.h | |
parent | 2349332b664887474ed2fb09dcdc4c57d8bb2b85 (diff) | |
download | php-git-ee6ccea3eb1d74cd82131ac4beef86d4930b51d0.tar.gz |
add php_mb_check_encoding
Diffstat (limited to 'ext/mbstring/mbstring.h')
-rw-r--r-- | ext/mbstring/mbstring.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mbstring/mbstring.h b/ext/mbstring/mbstring.h index 71d63b13de..1283598cfb 100644 --- a/ext/mbstring/mbstring.h +++ b/ext/mbstring/mbstring.h @@ -152,6 +152,7 @@ MBSTRING_API int php_mb_encoding_detector_ex(const char *arg_string, int arg_len MBSTRING_API int php_mb_encoding_converter_ex(char **str, int *len, const char *encoding_to, const char *encoding_from); MBSTRING_API int php_mb_stripos(int mode, const char *old_haystack, unsigned int old_haystack_len, const char *old_needle, unsigned int old_needle_len, long offset, const char *from_encoding); +MBSTRING_API int php_mb_check_encoding(const char *input, size_t length, const char *enc); /* internal use only */ int _php_mb_ini_mbstring_internal_encoding_set(const char *new_value, uint new_value_length); |