json_decode() function takes a JSON encoded string and converts it into actual PHP value, but this function works only with UTF-8 encoded strings. json_decode() translates the converted value into appropriate PHP types. If no conversion is possible it ret