📅  最后修改于: 2022-03-11 14:54:46.588000             🧑  作者: Mango
json_decode('{foo:"bar"}'); // this fails
json_decode('{"foo":"bar"}', true); // returns array("foo" => "bar")
json_decode('{"foo":"bar"}'); // returns an object, not an array.