str_pad 和 filter_var

这两个函数都是php内置函数,filter_var可直接过滤,比如邮箱,ip等,str_pad可补充字符串eg: 1  =>  001 

posted @ 2017-12-28 15:02  Basu  阅读(148)  评论(0编辑  收藏  举报