crack_opendict()
(PECL crack >= 0.1)
Opens a new CrackLib dictionary
说明
crack_opendict(string $dictionary): resource
crack_opendict() opens the specified CrackLib$dictionaryfor use with crack_check().
Warning此函数是实验性的。此函数的表象,包括名称及其相关文档都可能在未来的PHP 发布版本中未通知就被修改。使用本函数风险自担。
Note:Only one dictionary may be open at a time.
参数
- $dictionary
The path to the Cracklib dictionary.
返回值
Returns a dictionary resource identifier on success 或者在失败时返回FALSE
.
参见
crack_check()
用给定的密码来进行破解测试crack_closedict()
Closes an open CrackLib dictionary