We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93b5375 commit 9f9042fCopy full SHA for 9f9042f
ext/mbstring/mbstring.c
@@ -761,7 +761,7 @@ static PHP_INI_MH(OnUpdate_mbstring_http_input)
761
php_error_docref("ref.mbstring", E_DEPRECATED, "Use of mbstring.http_input is deprecated");
762
}
763
764
- if (!new_value || !ZSTR_VAL(new_value)) {
+ if (!new_value) {
765
const char *encoding = php_get_input_encoding();
766
MBSTRG(http_input_set) = 0;
767
_php_mb_ini_mbstring_http_input_set(encoding, strlen(encoding));
0 commit comments