标签:
<?php $arr = array (‘a‘=>1,‘b‘=>2,‘c‘=>3,‘d‘=>4,‘e‘=>5); echo json_encode($arr); ?> 以上例程会输出: {"a":1,"b":2,"c":3,"d":4,"e":5}
json_encode php
原文地址:http://www.cnblogs.com/wesky/p/4590953.html