function Ebak_ChangeChar($str,$oldchar,$newchar){ //是否支持iconv if(!Ebak_HaveFun("iconv")) { return $str; } if(!empty($newchar)) { $str=iconv($oldchar,$newchar,$str); } return $str; }
function Ebak_ChangeChar($str, $oldchar, $newchar) { if (!Ebak_HaveFun('iconv')) { return $str; } if (!empty($newchar)) { $str = iconv($oldchar, $newchar, $str); } return $str; }