标签:ar sp on bs as nbsp br php js
PHP json_encode 二维数组
eg:
array( 3 => array( ‘a‘ => 1, ‘b‘ => 2, ), );
期望:数组类型
[{"a":"1","b":"2"}]
实际:对象类型
{"3": .....省略}
PHP 小坑 mark(PHP json_encode 二维数组)
标签:ar sp on bs as nbsp br php js
原文地址:http://my.oschina.net/maczhao/blog/355629