PHP返回错误:不赞成使用/ e修饰符

时间:2018-10-28 09:41:33

标签: php regex regex-lookarounds

  

不建议使用:PHP启动:不建议使用/ e修饰符,请改为在第165行的/s0cialb/libs/tpl/class.compiler.php中使用preg_replace_callback

165行是:

$file_contents = preg_replace("!{$ldq}\*.*?\*{$rdq}!se","",$file_contents);

如何修复 ?

0 个答案:

没有答案