(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"
,則會回傳指定的設定參數。
版本 | 說明 |
---|---|
8.0.0 | 不再支援 type "func_overload" 和 "func_overload_list" 。 |