首页 > 技术文章 > php去除bom头

isuben 2017-11-21 16:29 原文

//去掉bom头
$result = trim($result, "\xEF\xBB\xBF");
print_r(json_decode($result, true));

 

推荐阅读