Home >Backend Development >PHP Tutorial >thinkPHP问题,前端的volist如何把后台传过来的手机号码中间4个数字转化为呢?急

thinkPHP问题,前端的volist如何把后台传过来的手机号码中间4个数字转化为呢?急

WBOY
WBOYOriginal
2016-06-23 13:04:42794browse

第三次发帖,大家来帮帮忙,真的急啊。


回复讨论(解决方案)

{$phoneNumber|substr_replace=###,'****',3,4}

谢谢,非常管用。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn