文章来自:源码在线https://www.shengli.me/php/210.html
php索引数组:
php关联数组:
json规格:
可以使用 for-in 来访问数组:
循环访问嵌套json对象中的数组
输出: