$data = array( "姓名" => "王思捷", "博客" => "http://ilovetile.com" ); echo json_encode($data);