$json = "{\"errorno\":0,\"errormsg\":\"可以\",\"data\":{\"guid\":\"5762340\",\"username\":\"wiu370468\"}}"; echo "<pre>"; var_dump(json_decode($json,true));
array(3) { ["errorno"]=> int(0) ["errormsg"]=> string(6) "可以" ["data"]=> array(2) { ["guid"]=> string(7) "5762340" ["username"]=> string(9) "wiu370468" } }