$str = ‘[{"rwx_price":388.5,"end_station_name":"长沙","swz_price":0,"swz_num":"--","to_station_name":"长沙","ydz_num":"--","yz_num":"*","rw_num":"*","arrive_days":"1","rz_num":"--","access_byidcard":"0","yz_price":138.5,"ywz_price":246.5,"sale_date_time":"1100","from_station_code":"CUW","rz_price":0,"gjrw_num":"--","to_station_code":"CSQ","ydz_price":0,"wz_price":138.5,"tdz_price":0,"run_time":"15:36","yw_num":"*","edz_price":0,"qtxb_price":0,"can_buy_now":"N","yw_price":238.5,"train_type":"K","rw_price":372.5,"note":"7月22日11点起售","train_no":"760000K5780K","train_code":"K579","from_station_name":"重庆北","run_time_minute":"936","ywx_price":255.5,"arrive_time":"05:28","start_station_name":"成都东","start_time":"13:52","wz_num":"*","edz_num":"--","qtxb_num":"--","train_start_date":"20160919","gjrw_price":0,"tdz_num":"--"},{"rwx_price":0,"end_station_name":"长沙","swz_price":0,"swz_num":"--","to_station_name":"长沙","ydz_num":"--","yz_num":"*","rw_num":"--","arrive_days":"1","rz_num":"--","access_byidcard":"0","yz_price":128.5,"ywz_price":230.5,"sale_date_time":"1100","from_station_code":"CUW","rz_price":0,"gjrw_num":"--","to_station_code":"CSQ","ydz_price":0,"wz_price":128.5,"tdz_price":0,"run_time":"14:10","yw_num":"*","edz_price":0,"qtxb_price":0,"can_buy_now":"N","yw_price":222.5,"train_type":"K","rw_price":0,"note":"7月22日11点起售","train_no":"760000K50406","train_code":"K504","from_station_name":"重庆北","run_time_minute":"850","ywx_price":237.5,"arrive_time":"06:22","start_station_name":"成都东","start_time":"16:12","wz_num":"*","edz_num":"--","qtxb_num":"--","train_start_date":"20160919","gjrw_price":0,"tdz_num":"--"},{"rwx_price":509.5,"end_station_name":"广州","swz_price":0,"swz_num":"--","to_station_name":"长沙","ydz_num":"--","yz_num":"*","rw_num":"*","arrive_days":"1","rz_num":"--","access_byidcard":"0","yz_price":180.5,"ywz_price":321.5,"sale_date_time":"1100","from_station_code":"CUW","rz_price":0,"gjrw_num":"--","to_station_code":"CSQ","ydz_price":0,"wz_price":180.5,"tdz_price":0,"run_time":"20:47","yw_num":"*","edz_price":0,"qtxb_price":0,"can_buy_now":"N","yw_price":310.5,"train_type":"K","rw_price":488.5,"note":"7月22日11点起售","train_no":"770000K35804","train_code":"K358","from_station_name":"重庆北","run_time_minute":"1247","ywx_price":331.5,"arrive_time":"20:07","start_station_name":"重庆北","start_time":"23:20","wz_num":"*","edz_num":"--","qtxb_num":"--","train_start_date":"20160919","gjrw_price":0,"tdz_num":"--" }]‘;$str = json_decode($str,true); echo ‘<meta http-equiv="Content-type" content="text/html:charset=utf-8">‘;echo ‘<pre>‘;var_dump($str);exit;
时间: 2024-10-17 03:29:03