Login

Record a PHP error: the interface return is null, print_r or echo can output, but with a null string at the end

Author:neo yang Time:2022/01/07 Read: 2895

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.

tags:


copyright © www.lyustu.com all rights reserved.
Theme: TheMoon V3.0. Author:neo yang