php项目开发遇到个问题,运行时报错
报错文件路径thinkphp / library / think / cache / driver / File.php
c
o
n
t
e
n
t
=
u
n
s
e
r
i
a
l
i
z
e
(
content = unserialize(
content=unserialize(content);
网上找过一些方法,主要是: 使用正则表达式将序列化的数组中的表示字符长度的值重新计算一遍,
preg_replace_callback(’#s:(\d+):"(.*?)";#s’,function(KaTeX parse error: Expected '}', got 'EOF' at end of input: …rn 's:'.strlen(match[2]).’:"’.KaTeX parse error: Expected 'EOF', got '}' at position 15: match[2].'";';}̲,str);
但使用这个函数后,还是一样报错,没起到作用
望大神指导下