PHP7 不再支持preg_replace() 的"\e"规则(PREG_REPLACE_EVAL),执行过程会直接抛出异常。 解决办法需要使用preg_replace_callback()来代替。
確定! 回上一頁