protected function checkphone(){
if(preg_match("/^1[34578]\d{9}$/", $phone)){
return false;
}else{
return true;
}
}
protected function checkphone(){
if(preg_match("/^1[34578]\d{9}$/", $phone)){
return false;
}else{
return true;
}
}
转载于:https://www.cnblogs.com/zlx7/p/5212597.html