Blogger Information
Blog 17
fans 0
comment 1
visits 21574
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
手机号隐藏中间四位
Ant.
Original
783 people have browsed it

实例

/**
 * 手机号隐藏中间四位
 * @param $str
 * @return string|string[]
 * 2021/3/26
 * 11:58
 */
function attrPhone($str)
{
    return substr_replace($str, '****', 3, 4);
}

运行实例 »

点击 "运行实例" 按钮查看在线实例


Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post