public function validatePasswordNotUseWordPassword($password) {
        $washedPassword = trim($password);
        $washedPassword = strtolower($password);

        // if the word "password" resides within the password, then no good
        if (strpos($washedPassword, "password") !== false) {
            return false;
        }

        return true;
    }
public function validatePasswordNotUseWordPassword($password) {
        $washedPassword = trim($password);
        $washedPassword = strtolower($password);

        // if the word "password" resides within the password, then no good
        if (strpos($washedPassword, "password") !== false) {
            return false;
        }

        return true;
    }
public function validatePasswordNotUseWordPassword ( $ password ) { $ washedPassword = trim ( $ password ) ; $ washedPassword = strtolower ( $ password ) ; // if the word "password" resides within the password, then no good if ( strpos ( $ washedPassword , "password" ) !== false ) { return false ; } return true ; }
Password should not use the word "password"

I am countering a pet peeve!

@param  text  $password
@return bool
Password should not use the word password