crack_getlastmessage()
(PECL crack >= 0.1)
Returns the message from the last obscure check
说明
crack_getlastmessage(void): string
crack_getlastmessage() returns the message from the last obscure check.
Warning此函数是实验性的。此函数的表象,包括名称及其相关文档都可能在未来的PHP 发布版本中未通知就被修改。使用本函数风险自担。
返回值
The message from the last obscure check or FALSE
if there was no obscure checks made so far.
The returned message is one of:
- it's WAY too short
- it is too short
- it does not contain enough DIFFERENT characters
- it is all whitespace
- it is too simplistic/systematic
- it looks like a National Insurance number.
- it is based on a dictionary word
- it is based on a(reversed)dictionary word
- strong password
参见
crack_check()
用给定的密码来进行破解测试