(PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8)
mb_get_info — 獲取 mbstring 的內(nèi)部設(shè)置
type
如果沒(méi)有設(shè)定 type 或者將其設(shè)定為 "all" 將會(huì)返回以下內(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è)置。
如果沒(méi)有指定 type 將返回類型信息的數(shù)組,否則將返回指定
type 的信息。
或者在失敗時(shí)返回 false。
| 版本 | 說(shuō)明 |
|---|---|
| 8.0.0 |
參數(shù) type 中的 "func_overload"
和 "func_overload_list" 不再被支持。
|