替换手机号码中间四位数字

function hide_phone($str)
{
    $resstr = substr_replace($str, '****', 3, 4);
    return $resstr;
}
Last modification:June 3rd, 2019 at 11:12 am
如果觉得我的文章对你有用,请随意赞赏

Leave a Comment