php-对shenfenzhengè¿è¡æ©ç å¤ç_php_web-itnose
é¦é¡µ
asp
php
javascript
iis
apache
html/css
coldfusion
ajax
vbscript
cgi
xml/xsl
è·¨æµè§å¨å¼å
ruby/rails
ç¨åºå
html5
jquery
seo
jboss
json
angularjs
markdown
nginx
thinkphp
yii
pageadmin
extjs
wampserver
kendo ui
coffeescript
gulp
ecmascript
bootstrap
itnoseé¦é¡µ > web > php >
php-对shenfenzhengè¿è¡æ©ç å¤ç
2017-06-15 16:28
/**
*
* @param stirng $idcard
* @return string
*/
function formatidcard($idcard){
$strlen = strlen($idcard);
//æ©ç ä½æ°
$masklen = $strlen – 7;
//æªåå3个
$prefix = substr($idcard,0,3);
//æªåå4个
$suffix = substr($idcard,-4,4);
$maskidcard = $prefix;
for ($i=0; $i < $masklen; $i++) {
$maskidcard .= "*";
}
$maskidcard .= $suffix;
return $maskidcard;
}
ç¸å
³æç´¢ï¼
webserviceå¼å¸¸å¤ç
jquery å¤çxml
c++å¾åå¤ç
hibernate 1对å¤
hibernate å¤å¯¹å¤
ç¸å ³æç«
2017-06-15 16:28 php-对é¶è¡å¡å·åæ©ç å¤ç
2014-05-05 13:50 php-é¢ç¼è¯
2014-04-28 16:59 php-ä¸è½½åè½
2014-02-08 11:56 php-å¾çå缩
2014-02-06 11:06 php-å·¥å模å¼
æ´å¤ç¸å ³æç« >>
ææ°æç«
2017-06-20 01:35 èé们ï¼æ没æå¯è½è®©phpæ件åæ¶åªè½ä¸ä¸ªäººè®¿é®
2017-06-20 01:35 æä¹ç¦æ¢å¾çç´æ¥éè¿url访é®
2017-06-20 01:35 æ±æ!å¯å¨wampåªè½ç¨æ¬æºè®¿é®,åå±åç½çå
¶å®è®¾å¤è®¿é®ä¸å°!æäºå¤§å天t-t
2017-06-19 15:35 nginxä¸çthinkphpé®é¢
2017-06-19 15:35 php form æ件ä¸ä¼
æ´å¤ææ°æç« >>
çé¨æç´¢
hibernateå¤å¯¹å¤
hibernate äºå¡å¤ç
hibernateäºå¡å¤ç
db2 å¼å¸¸å¤ç
php jsp
php webservice
php å¾è¡¨
php xml
delphi for php
delphi php
php sqlserver
hibernate ä¸å¯¹å¤
hibernateå¤å¯¹å¤æ¥è¯¢
vb.net é®å¼å¯¹
phpå.net
京icpå¤14022385å·-2
©2014 itnose软件ç¼ç¨æç¨ | èç³»æ们ï¼emailï¼twobrushes@126.com qq:35155868