位置: 编程技术 - 正文

PHP:mb_ereg_search_getregs()的用法_mbstring函数

编辑:rootadmin
mb_ereg_search_getregs

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

文章相关热门搜索词:,内容如对您有帮助,希望把文章链接给更多的朋友!

(PHP 4 >= 4.2.0, PHP 5)

mb_ereg_search_getregs — Retrieve the result from the last multibyte regular expression match

说明 array mb_ereg_search_getregs ( void )

Retrieve the result from the last multibyte regular expression match

参数 PHP:mb_ereg_search_getregs()的用法_mbstring函数

此函数没有参数。

返回值

An array including the sub-string of matched part by last mb_ereg_search(), mb_ereg_search_pos(), mb_ereg_search_regs(). If there are some matches, the first element will have the matched sub-string, the second element will have the first part grouped with brackets, the third element will have the second part grouped with brackets, and so on. It returns FALSE on error;

注释

Note:

mb_regex_encoding()指定的内部编码或字符编码将会当作此函数用的字符编码。

参见

mb_regex_encoding() - Set/Get character encoding for multibyte regex mb_ereg_search_init() - Setup string and regular expression for a multibyte regular expression match

PHP:mb_ereg_search_getpos()的用法_mbstring函数 mb_ereg_search_getpos(PHP4=4.2.0,PHP5)mb_ereg_search_getposReturnsstartpointfornextregularexpressionmatch说明intmb_ereg_search_getpos(void)Returnsthestartpointforthenextregularexpressionmatch.参数

PHP:mb_encode_numericentity()的用法_mbstring函数 mb_encode_numericentity(PHP4=4.0.6,PHP5)mb_encode_numericentityEncodecharactertoHTMLnumericstringreference说明stringmb_encode_numericentity(string$str,array$convmap[,string$encoding=mb_internal_enco

PHP:mb_regex_set_options()的用法_mbstring函数 mb_regex_set_options(PHP4=4.3.0,PHP5)mb_regex_set_optionsSet/Getthedefaultoptionsformbregexfunctions说明stringmb_regex_set_options([string$options=mb_regex_set_options()])Setsthedefaultoptionsdescri

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

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

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

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

鄂ICP备2023003026号

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

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