Record a PHP error: the interface return is null, print_r or echo can output, but with a null string at the end
Record a PHP error: the interface return is null, print_r or echo can output, but with a null string at the end.
There are two situations.
1. There is an error in the json string, causing an error in json_decode.
2. There is no return result in the function of the interface, but the result is returned in other functions called.