From: Dmitry Stogov <dmitry@zend.com>
Date: Wed, 17 Apr 2019 22:33:56 +0000 (+0300)
Subject: Fixed compatibility with phpdbg
X-Git-Tag: php-7.4.0alpha1~472
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4c1a25ad5f012b933bc99024d866881a28ca92ff;p=php

Fixed compatibility with phpdbg
---

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;
 }
 /* }}} */