PHP正则替换函数preg_replace()报错:Notice Use of undefined constant的解

PHP正则替换函数preg_replace()报错:Notice Use of undefined constant的解

这篇文章主要介绍了PHP正则替换函数preg_replace()报错:Notice Use of undefined constant的解决方法,结合具体实例形式分析了preg_replace()报错的原因与相关解决技巧,需要的朋友可以参考下