php验证是否是md5编码的示例。 代码很简单,使用了正则表达式。 function is_md5($password) { return preg_match("/^[a-z0-9]{32}$/", $password); } 相关文章: