PHP去除BOM头的方法

$result = trim($result, "\xEF\xBB\xBF");
print_r(json_decode($result, true));
exit;

 

posted @ 2016-01-11 11:56  ヤ搁淺旳執念メ  阅读(104)  评论(0)    收藏  举报