Multibyte String 函数
在线手册:中文 英文
PHP手册

mb_get_info

(PHP 4 >= 4.2.0, PHP 5)

mb_get_infoGet internal settings of mbstring

说明

mixed mb_get_info ([ string $type = "all" ] )

mb_get_info() returns the internal setting parameters of mbstring.

参数

type

If type isn't specified or is specified to "all", an array having the elements "internal_encoding", "http_output", "http_input", "func_overload", "mail_charset", "mail_header_encoding", "mail_body_encoding" will be returned.

If type is specified as "http_output", "http_input", "internal_encoding", "func_overload", the specified setting parameter will be returned.

返回值

An array of type information if type is not specified, otherwise a specific type.

更新日志

版本 说明
5.1.3 The entries "mail_charset", "mail_header_encoding", and "mail_body_encoding" were made available.
5.3.0 The entry "http_output_conv_mimetypes" was made available.

参见


Multibyte String 函数
在线手册:中文 英文
PHP手册