<?php echo substr_replace($adm_info['moblie'],'****',3,4); ?>
/* 隐藏邮箱字符 */ function hide_email($email){ $n = strpos($email,'@'); if($n<3){ $email = substr_replace($email,'****',$n,0); }elseif ($n<6){ $email = substr_replace($email,'****',2,$n-2); }else { $email = substr_replace($email,'****',2,4); } return $email; }