php7 中,preg_replace()不再支持"\e" (PREG_REPLACE_EVAL),需要使用preg_replace_callback()來代替。看例子來說吧$content = preg_replace("/{#(.+?)
確定! 回上一頁