if (!preg_match('/^(\d|[a-zA-Z]|[!@#$%^&*\.]){6,18}$/', $password)){
throw new Exception($errorCode ? $errorCode: '10201005');
}
密码正则
最新推荐文章于 2023-05-15 16:23:53 发布
if (!preg_match('/^(\d|[a-zA-Z]|[!@#$%^&*\.]){6,18}$/', $password)){
throw new Exception($errorCode ? $errorCode: '10201005');
}