警告的含义是什么?
Warning: preg_replace() [function.preg-replace]: Compilation failed: PCRE does not support \L, \l, \N{name}, \U, or \u at offset 1 in
Run Code Online (Sandbox Code Playgroud)
它由这个函数触发:
file_put_contents($file,preg_replace('(\uid=\d+)', 'uid=' . $uid, file_get_contents($file)));
Run Code Online (Sandbox Code Playgroud)
即这种模式:
'(\uid=\d+)'
Run Code Online (Sandbox Code Playgroud)
它在本地工作,但不在线,这意味着它可能是我主机的PHP版本.我试图google一个解决方法,但找不到任何东西.
| 归档时间: |
|
| 查看次数: |
141 次 |
| 最近记录: |