(PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8)
mb_get_info — mbstring の内部設定値を取得する
type
type
が指定されない場合、または、"all"
の場合、 "internal_encoding"
, "http_input"
, "http_output"
, "http_output_conv_mimetypes"
, "mail_charset"
, "mail_header_encoding"
, "mail_body_encoding"
, "illegal_chars"
, "encoding_translation"
, "language"
, "detect_order"
, "substitute_character"
, "strict_detection"
の設定値を有する連想配列が返されます。
type
に "internal_encoding"
, "http_input"
, "http_output"
, "http_output_conv_mimetypes"
, "mail_charset"
, "mail_header_encoding"
, "mail_body_encoding"
, "illegal_chars"
, "encoding_translation"
, "language"
, "detect_order"
, "substitute_character"
, "strict_detection"
が指定された場合、 指定された設定パラメータが返されます。
type
が指定されていない場合は型情報を含む配列、 それ以外の場合は指定した type
の値を返します。 失敗した場合に false
を返します
バージョン | 説明 |
---|---|
8.0.0 | 引数 type の "func_overload" と "func_overload_list" はサポートされなくなりました。 |