PHP怎么解析json数据?

2025-05-05 06:55:18
推荐回答(1个)
回答1:

//使用json_decode函数解码
$arr = json_decode($json,true);
$number = $arr['number'];