diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-01-28 13:13:24 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-01-28 15:58:23 +0100 |
commit | 331e56ce38a91e87a6fb8e88154bb5bde445b132 (patch) | |
tree | 08511e83cee516be63afeb9e3a425f52444c8828 /ext/mbstring/mbstring.h | |
parent | 920b4b249f71e6cbfd795f81c6a08126a33c659e (diff) | |
download | php-git-331e56ce38a91e87a6fb8e88154bb5bde445b132.tar.gz |
Remove mbstring.func_overload
Deprecated in PHP 7.2 as part of
https://wiki.php.net/rfc/deprecations_php_7_2.
Diffstat (limited to 'ext/mbstring/mbstring.h')
-rw-r--r-- | ext/mbstring/mbstring.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/ext/mbstring/mbstring.h b/ext/mbstring/mbstring.h index 5c14cf67cb..08434f0467 100644 --- a/ext/mbstring/mbstring.h +++ b/ext/mbstring/mbstring.h @@ -155,7 +155,6 @@ ZEND_BEGIN_MODULE_GLOBALS(mbstring) int filter_illegal_substchar; int current_filter_illegal_mode; int current_filter_illegal_substchar; - zend_long func_overload; enum mbfl_no_language language; zend_bool encoding_translation; zend_bool strict_detection; @@ -169,17 +168,6 @@ ZEND_BEGIN_MODULE_GLOBALS(mbstring) const mbfl_encoding *last_used_encoding; ZEND_END_MODULE_GLOBALS(mbstring) -#define MB_OVERLOAD_MAIL 1 -#define MB_OVERLOAD_STRING 2 -#define MB_OVERLOAD_REGEX 4 - -struct mb_overload_def { - int type; - char *orig_func; - char *ovld_func; - char *save_func; -}; - #define MBSTRG(v) ZEND_MODULE_GLOBALS_ACCESSOR(mbstring, v) #if defined(ZTS) && defined(COMPILE_DL_MBSTRING) |