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

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

WBOY
Release: 2016-06-23 13:04:42
Original
795 people have browsed it

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


回复讨论(解决方案)

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

谢谢,非常管用。

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template