[PHP]echo_json PHP2018-12-11 function echo_json($data) { header("Content-Type: application/json; charset=utf-8"); echo json_encode($data); }