$name, "age"=>36, ); echo json_encode($list); */ //二维数组 $list = array( "avoidance1"=>array("companyName"=>"恒宇房地长开发有限公司","type"=>"逃税","time"=>"2015-05-03"), "avoidance2"=>array("companyName"=>"新疆饭馆有限公司","type"=>"乱开发票","time"=>"2012-05-03"), "avoidance3"=>array("companyName"=>"伊利服装公司","type"=>"偷税","time"=>"2005-05-03"), "avoidance4"=>array("companyName"=>"克拉玛依皮具厂","type"=>"假发票","time"=>"2017-06-03"), "avoidance5"=>array("companyName"=>"恒宇房地长开发有限公司","type"=>"逃税","time"=>"2015-05-03"), "avoidance6"=>array("companyName"=>"新疆饭馆有限公司","type"=>"乱开发票","time"=>"2012-05-03"), "avoidance7"=>array("companyName"=>"伊利服装公司","type"=>"偷税","time"=>"2005-05-03"), "avoidance8"=>array("companyName"=>"克拉玛依皮具厂","type"=>"假发票","time"=>"2017-06-03"), "avoidance9"=>array("companyName"=>"恒宇房地长开发有限公司","type"=>"逃税","time"=>"2015-05-03"), "avoidance10"=>array("companyName"=>"新疆饭馆有限公司","type"=>"乱开发票","time"=>"2012-05-03"), ); echo json_encode($list);?>