例:
原字符串为
$a = '{"errcode":0,"errmsg":"ok","msgid":1472671765897281541}';
转为array
$a = json_decode($a, true);
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3