How to convert a JSON string into an array (PHP)?

前端 未结 4 1523
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-14 17:55

using the below code for decoding json

$categories = json_decode($data);
$categories = $categories->data;

where i get this



        
4条回答
提交回复
热议问题