json_decode() returns null issues

前端 未结 10 2167
误落风尘
误落风尘 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:14

    Useful post from Sebastian about the json output format

    https://github.com/sebastianbergmann/phpunit/issues/142

    Using Keith's suggestion will allow the data to be parsed correctly

提交回复
热议问题