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

參見