PHP中利用substr_replace将指定两位置之间的字符替换为*号


  本文标签:substr_replace

复制代码 代码如下:

$username = "zongzi";
echo substr_replace($username,**,1,2);