php返回数据格式

PHP返回HTML代码: header('Content-type:text/html; charset=utf-8');

PHP返回xml代码:header('content-type: text/xml; charset=utf-8');