3.1.0 - 严重 - 已关闭
613 行开始:
if ('' === $value) {
return isset($_COOKIE[$name]) ? json_decode(MAGIC_QUOTES_GPC?stripslashes($_COOKIE[$name]):$_COOKIE[$name]) : null; // 获取指定Cookie
} else {
我使用$_COOKIE['test']是正常的,用cookie('test')则没有返回值,删掉json_decode之后就正常了。说实话,这个json_decode是干嘛的?