thinkphp 隐藏手机号中间4位

{$list.phone|substr_replace=###,'****',3,4}

使用函数:|substr_replace=###,'****',3,4

你可能感兴趣的:(PHP)