mb_get_info

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

mb_get_info獲取 mbstring 的內(nèi)部設(shè)置

說明

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

mb_get_info() 返回 mbstring 參數(shù)的內(nèi)部設(shè)定。

參數(shù)

type

如果沒有設(shè)定 type 或者將其設(shè)定為 "all" 將會返回以下內(nèi)容 "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 設(shè)定為類似 "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",將返回該參數(shù)的設(shè)置。

返回值

如果沒有指定 type 將返回類型信息的數(shù)組,否則將返回指定 type 的信息。 或者在失敗時返回 false。

更新日志

版本 說明
8.0.0 參數(shù) type 中的 "func_overload""func_overload_list" 不再被支持。

參見