php方法 隐藏手机号中间四位

$num = "13966778888"
$str = substr_replace($num,'****',3,4);

posted @ 2016-08-15 14:36  午时的海  阅读(1507)  评论(0编辑  收藏  举报