From 4c1a25ad5f012b933bc99024d866881a28ca92ff Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Thu, 18 Apr 2019 01:33:56 +0300 Subject: [PATCH] Fixed compatibility with phpdbg --- ext/mbstring/mbstring.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c index 61e47630ef..69d5fa9101 100644 --- a/ext/mbstring/mbstring.c +++ b/ext/mbstring/mbstring.c @@ -1690,6 +1690,8 @@ PHP_MSHUTDOWN_FUNCTION(mbstring) PHP_MSHUTDOWN(mb_regex) (INIT_FUNC_ARGS_PASSTHRU); #endif + php_internal_encoding_changed = NULL; + return SUCCESS; } /* }}} */ -- 2.40.0