/*** 校验邮箱格式* @param $utfstr*/function check_email($phonenumber ='13712345678'){$phonenumber =phonenumber ;if(preg\_match("/^1\[34578\]{1}\\d{9}$/",$phonenumber)){if(preg_match($pattern,$email)){$remsg='是手机号码!';}else{$remsg='不是手机号码!';}return $remsg;}}s
/**
* 判断手机格式是否正确
* @param $mobile
*/
function is_mobile($mobile) {
return preg_match('/1[3456789]{1}\d{9}$/',$mobile);
}
