位置: 编程技术 - 正文

PHP:mb_get_info()的用法_mbstring函数(php
)

编辑:rootadmin
mb_get_info

推荐整理分享PHP:mb_get_info()的用法_mbstring函数(php
)
,希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:php-ml,php?ms=0&qgg=&_wv=3,php -m,php?ms=0&qgg=&_wv=3,php mb_convert_encoding,php getmypid,php -m,php mb_convert_encoding,内容如对您有帮助,希望把文章链接给更多的朋友!

(PHP 4 >= 4.2.0, PHP 5)

mb_get_info — 获取 mbstring 的内部设置

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

mb_get_info() 返回 mbstring 参数的内部设定。

参数

type PHP:mb_get_info()的用法_mbstring函数(php<br>)

如果没有设定 type,或者将其设定为 "all",将会返回一个 array,并且包含了以下所有元素:"internal_encoding", "http_output", "http_input", "func_overload", "mail_charset", "mail_header_encoding", "mail_body_encoding"。

如果 type 设定为类似 "http_output", "http_input", "internal_encoding", "func_overload",将返回该参数的设置。

返回值

如果没有指定 type 将返回类型信息的数组,否则将返回指定 type 的信息。

更新日志

版本 说明 5.1.3 实体 "mail_charset"、"mail_header_encoding" 和 "mail_body_encoding" 开始有效。 5.3.0 条目 "http_output_conv_mimetypes" 开始有效。

参见

mb_regex_encoding() - Set/Get character encoding for multibyte regex mb_http_output() - 设置/获取 HTTP 输出字符编码

PHP:mb_encode_mimeheader()的用法_mbstring函数 mb_encode_mimeheader(PHP4=4.0.6,PHP5)mb_encode_mimeheader为MIME头编码字符串说明stringmb_encode_mimeheader(string$str[,string$charset=mb_internal_encoding()[,string$transfer_encoding=B[,string

PHP:mb_detect_order()的用法_mbstring函数 mb_detect_order(PHP4=4.0.6,PHP5)mb_detect_order设置/获取字符编码的检测顺序说明mixedmb_detect_order([mixed$encoding_list=mb_detect_order()])为编码列表encoding_list设置自动检测

PHP:mb_detect_encoding()的用法_mbstring函数 mb_detect_encoding(PHP4=4.0.6,PHP5)mb_detect_encoding检测字符的编码说明stringmb_detect_encoding(string$str[,mixed$encoding_list=mb_detect_order()[,bool$strict=false]])检测字符串str的编

本文链接地址:https://www.jiuchutong.com/biancheng/278779.html 转载请保留说明!

上一篇:PHP:mb_http_input()的用法_mbstring函数

下一篇:PHP:mb_encode_mimeheader()的用法_mbstring函数

免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

鄂ICP备2023003026号

网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

友情链接: 武汉网站建设 电脑维修 湖南楚通运网络