json_decode結果爲null的解決方法之一

$str2='{"code":200,"datas":{"id":1,"coupon_id":"123","validity":"2018-08-14","is_use":0,"source":"2","create_time":"2018-08-14 15:06:40"}}'; var_dump(json_decode($str2)); 打印的結果以下:php 網上各類搜索沒有解決方案,最終想
相關文章
相關標籤/搜索