crack_getlastmessage
(PECL crack >= 0.1)
crack_getlastmessage — 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