方法二:
$json?=?JSON _ decode(trim($ JSON,chr(239)。chr(187)。chr(191),true);方法三:
功能?prepare JSON($ input ){
if(substr($ input,0,3)?==?pack(“CCC“,0xEF,0xBB,0xBF)?$input?=?substr($ input,3);
回歸?$ input
}