解决Deprecated: preg_replace(): The /e modifier is deprecated, use

使用php5.5运行ecshop的时候出现如下错误Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in \ecshop\includes\cls_template.php on line 300 

解决方法如下

打开ecshop的目录找到includes\cls_template.php 到第300行

替换成

ecshop2.7.3 preg_replace()怎么替换成preg_replace_callback()

未经允许不得转载:淘淘源码吧 » 解决Deprecated: preg_replace(): The /e modifier is deprecated, use