mb_ereg_search_getregs() - mb函数(多字节字符串转化库)
mb_ereg_search_getregs()
(PHP 4 >= 4.2.0, PHP 5, PHP 7)
Retrieve the result from the last multibyte regular expression match
说明
mb_ereg_search_getregs(void): arrayRetrieve the result from the last multibyte regular expression match
参数
此函数没有参数。
返回值
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 regexmb_ereg_search_init()
Setup string and regular expression for a multibyte regular expression match
Get unicode characters from string.
鹏仔微信 15129739599 鹏仔QQ344225443 鹏仔前端 pjxi.com 共享博客 sharedbk.com
图片声明:本站部分配图来自网络。本站只作为美观性配图使用,无任何非法侵犯第三方意图,一切解释权归图片著作权方,本站不承担任何责任。如有恶意碰瓷者,必当奉陪到底严惩不贷!