位置: 编程技术 - 正文

PHP:mb_ereg_replace()的用法_mbstring函数

编辑:rootadmin
mb_ereg_replace

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

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

(PHP 4 >= 4.2.0, PHP 5)

mb_ereg_replace — Replace regular expression with multibyte support

说明 string mb_ereg_replace ( string $pattern , string $replacement , string $string [, string $option = "msr" ] )

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

参数

pattern

The regular expression pattern.

Multibyte characters may be used in pattern.

replacement PHP:mb_ereg_replace()的用法_mbstring函数

The replacement text.

string

The string being checked.

option Matching condition can be set by option parameter. If i is specified for this parameter, the case will be ignored. If x is specified, white space will be ignored. If m is specified, match will be executed in multiline mode and line break will be included in &#;.&#;. If p is specified, match will be executed in POSIX mode, line break will be considered as normal character. If e is specified, replacement string will be evaluated as PHP expression.

返回值

The resultant string on success, or FALSE on error.

注释

Note:

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

Warning

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

参见

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

PHP:mb_ereg_replace_callback()的用法_mbstring函数 mb_ereg_replace_callback(PHP5=5.4.1)mb_ereg_replace_callbackPerformaregularexpresssionseachandreplacewithmultibytesupportusingacallback说明stringmb_ereg_replace_callback(string$pattern,callable$call

PHP:mb_ereg_search_getregs()的用法_mbstring函数 mb_ereg_search_getregs(PHP4=4.2.0,PHP5)mb_ereg_search_getregsRetrievetheresultfromthelastmultibyteregularexpressionmatch说明arraymb_ereg_search_getregs(void)Retrievetheresultfromthelastmultibyteregu

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_ereg_replace()的用法_mbstring函数

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

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

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

  • 外出经营是什么意思
  • 主管税务机关是否参与清算
  • 关税税收优惠记忆口诀
  • 税款必须要15号之前交吗
  • 转租房产税计税依据
  • 出售本月转入处置的固定资产应交税费
  • 国有企业改制资产评估增值税收规
  • 公司可以用现金付房租吗
  • 增值税即征即退政策适用范围
  • 小规模纳税人如何转一般纳税人
  • 收回已作为坏账准备的应收账款会计分录
  • 嵌入式软件产品增值税即征即退
  • 外地扣缴的个人所得税
  • 持有至到期投资核算内容
  • 生产企业商贸企业
  • 扣除工资作为违约金
  • 教育费附加是用来干嘛的
  • 2月的发票入在1月可以吗
  • 服务性合同签了能反悔吗
  • 企业取得的土地使用权应作为固定资产核算
  • 交通费,通讯费均按照上级行标准领取
  • 公益性捐赠包括向脱贫地区捐赠吗
  • 华为分享的文件在电脑哪个文件夹
  • commandlineoptionsyntaxerror翻译详情
  • 动态投资回收期名词解释
  • 电脑上一键复制是哪个键
  • .exe是啥
  • tracert命令的作用及用法
  • linux中loop的含义
  • 短期借款和短期贷款
  • 登记会计账簿的注意事项
  • vue设置时间格式
  • 如何区分货币财富和收入
  • 非货币性资产交换
  • 建筑企业总包方都有哪些印花税
  • 安装windows(install windows)
  • 育空领地
  • 实收资本印花税税率多少
  • html关于边框的代码
  • 数据挖掘 实战
  • Bilateral Filters(双边滤波算法)的超简单原理,学不会你打我。
  • 智能优化算法可以用到哪里
  • 奖金的发放应做到
  • 修的公路是否上固定资产
  • 多收钱少开票
  • 以前年度漏记收入
  • 存货盘亏原因不明会计分录
  • 一般纳税人哪种税
  • 支付土地补偿款账务处理
  • asp.net mvc图片上传
  • 有形动产租赁服务的增值税税率
  • 增值税专票什么用处
  • 折旧方法有哪些英文
  • 银行备付金账户是什么帐户
  • 净现金流量算残值么
  • 处置子公司利润表怎么合并
  • 贴现凭证是什么意思
  • 原始凭证填制的基本内容
  • 外贸企业怎么开出口发票
  • windows10预览
  • 老毛桃U盘启动盘工具安装Win8的详细图文教程
  • linux r安装
  • runservice.exe - runservice是什么进程 有什么用
  • win7右下角无线网络连接图标不见了
  • div滚动条怎么设置
  • Python win32com 操作Exce的l简单方法(必看)
  • node.js报错998
  • android新手入门
  • python中类怎么用
  • 安卓 aac
  • unity如何成一组
  • shell脚本监听端口
  • android.view.window.addflags
  • python中csv怎么用
  • webview自定义视频播放器
  • iframe例子
  • 企业自建自用房产税如何缴纳
  • 纳税人被列入非正常户超过三个月的情况
  • 印花税应税凭证数量是什么意思
  • 广东省电子税务局app下载官网
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设