In PHP substr_replace replaces the character between two specified positions with an * sign
- 2020-03-31 21:32:30
- OfStack
$username = "zongzi";
echo substr_replace($username,'**','1','2');
$username = "zongzi";
echo substr_replace($username,'**','1','2');