PHP 8.3.4 Released!

mb_get_info

(PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8)

mb_get_info获取 mbstring 的内部设置

说明

mb_get_info(string $type = "all"): mixed

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" 不再被支持。

参见

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top