json_decode() returns null issues

前端 未结 10 2172
误落风尘
误落风尘 2020-12-03 11:47

I\'ve an issue with my JSON. It works returns correctly in PHP 5.3 (so I can\'t use json_last_error()), and it returns successfully when I copy string explicitly into json_d

10条回答
  •  南笙
    南笙 (楼主)
    2020-12-03 12:24

    try to set the error reporting in ALL, the json_decode() should give you a notice in the offset where the conversion fails.

提交回复
热议问题