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

(编辑:jimmy 日期: 2024/9/25 浏览:2)

复制代码 代码如下:
$username = "zongzi";
echo substr_replace($username,'**','1','2');