标签:div 手机号 space bsp lin code ber else index
$mobileNums
=
"13666880092"
;
var_dump(checkPhone(
$mobileNums
));
function
checkPhone(
$mobileNums
)
{
if
(preg_match(
‘/^[1]((3[0-9])|(4[5,7,9])|(5[4])|(8[0-9])|(7[0,1,3,5,6,7,8]))\d{8}$/‘
,
$mobileNums
)) {
return
true;
}
else
{
return
false;
}}
标签:div 手机号 space bsp lin code ber else index
原文地址:https://www.cnblogs.com/Gupq/p/10208021.html