&reftitle.runtime; &extension.runtime; mbstring configuration options &Name; &Default; &Changeable; &Changelog; mbstring.language "neutral" INI_ALL mbstring.detect_order NULL INI_ALL mbstring.http_input "pass" INI_ALL Deprecated mbstring.http_output "pass" INI_ALL Deprecated mbstring.internal_encoding NULL INI_ALL Deprecated mbstring.substitute_character NULL INI_ALL mbstring.func_overload "0" INI_SYSTEM Deprecated as of PHP 7.2.0; removed as of PHP 8.0.0. mbstring.encoding_translation "0" INI_PERDIR mbstring.http_output_conv_mimetypes "^(text/|application/xhtml\+xml)" INI_ALL mbstring.strict_detection "0" INI_ALL mbstring.regex_retry_limit "1000000" INI_ALL Available as of PHP 7.4.0. mbstring.regex_stack_limit "100000" INI_ALL Available as of PHP 7.3.5.
&ini.php.constants;
&ini.descriptions.title; mbstring.language string The default national language setting (NLS) used in mbstring. Note that this option automagically defines mbstring.internal_encoding and mbstring.internal_encoding should be placed after mbstring.language in &php.ini; mbstring.encoding_translation bool Enables the transparent character encoding filter for the incoming HTTP queries, which performs detection and conversion of the input encoding to the internal character encoding. mbstring.internal_encoding string &removed.php.future; Defines the default internal character encoding. Users should leave this empty and set default_charset instead. mbstring.http_input string &removed.php.future; Defines the default HTTP input character encoding. Users should leave this empty and set default_charset instead. mbstring.http_output string &removed.php.future; Defines the default HTTP output character encoding (output will be converted from the internal encoding to the HTTP output encoding upon output). Users should leave this empty and set default_charset instead. mbstring.detect_order string Defines default character code detection order. See also mb_detect_order. mbstring.substitute_character string Defines character to substitute for invalid character encoding. See mb_substitute_character for supported values. mbstring.func_overload string &warn.deprecated.feature-7-2-0.removed-8-0-0; Overloads a set of single byte functions by the mbstring counterparts. See Function overloading for more information. This setting can only be changed from the &php.ini; file. mbstring.http_output_conv_mimetypes string mbstring.strict_detection bool Enables strict encoding detection. See mb_detect_encoding for a description and examples. mbstring.regex_retry_limit int Limits the amount of backtracking that may be performed during one mbregex match. This setting only takes effect when linking against oniguruma >= 6.8.0. mbstring.regex_stack_limit int Limits the stack depth of mbstring regular expressions. According to the HTML 4.01 specification, Web browsers are allowed to encode a form being submitted with a character encoding different from the one used for the page. See mb_http_input to detect character encoding used by browsers. Although popular browsers are capable of giving a reasonably accurate guess to the character encoding of a given HTML document, it would be better to set the charset parameter in the Content-Type HTTP header to the appropriate value by header or default_charset ini setting. &php.ini; setting examples &php.ini; setting for <literal>EUC-JP</literal> users &php.ini; setting for <literal>SJIS</literal> users