84669 人学习
152542 人学习
20005 人学习
5487 人学习
7821 人学习
359900 人学习
3350 人学习
180660 人学习
48569 人学习
18603 人学习
40936 人学习
1549 人学习
1183 人学习
32909 人学习
string(145) "{q:"game",p:false,s:["gamersky","game center","gameloft","gameres""games for windows live","gamelook","games","gamewith","gameboy","gamemaker"]}"
认证0级讲师
这是var_dump输出的,实际字符串为
$s = '{q:"game",p:false,s:["gamersky","game center","gameloft","gameres","games for windows live","gamelook","games","gamewith","gameboy","gamemaker"]}'; $str = preg_replace('/(\w+):/is', '"$1":', $s); json_decode($str,true); [ "q" => "game", "p" => false, "s" => [ "gamersky", "game center", "gameloft", "gameres", "games for windows live", "gamelook", "games", "gamewith", "gameboy", "gamemaker" ] ]
json_decode()....不知道对不对
这个是json数据格式 楼上两位说的都对。
这是var_dump输出的,实际字符串为
json_decode()....不知道对不对
这个是json数据格式 楼上两位说的都对。