📅  最后修改于: 2022-03-11 14:54:16.805000             🧑  作者: Mango
function removeBomUtf8($s){
if(substr($s,0,3)==chr(hexdec('EF')).chr(hexdec('BB')).chr(hexdec('BF'))){
return substr($s,3);
}else{
return $s;
}
}