json_decode Decodes a JSON string &reftitle.description; mixedjson_decode stringjson boolassoc Takes a JSON encoded string and converts it into a PHP variable. &reftitle.parameters; json The json string being decoded. assoc When &true;, returned objects will be converted into associative arrays. &reftitle.returnvalues; Returns an object or if the optional assoc parameter is &true;, an associative array is instead returned. &reftitle.examples; <function>json_decode</function> examples ]]> &example.outputs; int(1) ["b"] => int(2) ["c"] => int(3) ["d"] => int(4) ["e"] => int(5) } array(5) { ["a"] => int(1) ["b"] => int(2) ["c"] => int(3) ["d"] => int(4) ["e"] => int(5) } ]]> &reftitle.seealso; json_encode