PHP的substr_replace将指定两位置之间的字符替换为*号 PHP的substr_replace将指定两位置之间的字符替换为*号 1 $username = "zongzi";2 echo substr_replace($username,'**','1','2');