位置: 编程技术 - 正文

PHP:mb_eregi_replace()的用法_mbstring函数

编辑:rootadmin
mb_eregi_replace

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

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

(PHP 4 >= 4.2.0, PHP 5)

mb_eregi_replace — Replace regular expression with multibyte support ignoring case

说明 string mb_eregi_replace ( string $pattern , string $replace , string $string [, string $option = "msri" ] )

Scans string for matches to pattern, then replaces the matched text with replacement.

参数

pattern

The regular expression pattern. Multibyte characters may be used. The case will be ignored.

replace PHP:mb_eregi_replace()的用法_mbstring函数

The replacement text.

string

The searched string.

option option has the same meaning as in mb_ereg_replace().

返回值

The resultant string or FALSE on error.

注释

Note:

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

Warning

处理非信任的输入时从不使用e 修饰符,就不会转码(即调用 preg_replace())。不注意这些会很可能会导致应用程序引发远程代码执行的漏洞。

参见

mb_regex_encoding() - Set/Get character encoding for multibyte regex mb_ereg_replace() - Replace regular expression with multibyte support

PHP:mb_ereg()的用法_mbstring函数 mb_ereg(PHP4=4.2.0,PHP5)mb_eregRegularexpressionmatchwithmultibytesupport说明intmb_ereg(string$pattern,string$string[,array$regs])Executestheregularexpressionmatchwithmultibytesupport.参数patternT

PHP:mb_ereg_search()的用法_mbstring函数 mb_ereg_search(PHP4=4.2.0,PHP5)mb_ereg_searchMultibyteregularexpressionmatchforpredefinedmultibytestring说明boolmb_ereg_search([string$pattern[,string$option=ms]])Performsamultibyteregularexpression

PHP:mb_ereg_search_setpos()的用法_mbstring函数 mb_ereg_search_setpos(PHP4=4.2.0,PHP5)mb_ereg_search_setposSetstartpointofnextregularexpressionmatch说明boolmb_ereg_search_setpos(int$position)mb_ereg_search_setpos()setsthestartingpointofamatchform

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

上一篇:PHP:mb_eregi()的用法_mbstring函数(php -m)

下一篇:PHP:mb_ereg()的用法_mbstring函数(php?ms=0&qgg=&_wv=3)

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

鄂ICP备2023003026号

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

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