$string = preg_replace( '/^(\\xef\\xbb\\xbf)/', '', $string ); //该片段来自于http://www.codesnippet.cn/detail/16112012416.html
来源: http://www.codesnippet.cn/detail/16112012416.html