php验证是否是md5编码的代码

php验证是否是md5编码的示例。
代码很简单,使用了正则表达式。
function is_md5($password) {
    return preg_match("/^[a-z0-9]{32}$/", $password);
}
原文地址:https://www.cnblogs.com/linuxnotes/p/3644404.html