Home > PHP > Function > Crack > crack_opendict()

crack_opendict()

crack_opendict - Opens a new CrackLib dictionary

Syntax

resource crack_opendict (string $dictionary)

Arguments

  • dictionary - The path to the Cracklib dictionary.

Description

crack_opendict() opens the specified CrackLib dictionary for use with crack_check().

Version

PHP PECL crack >= 0.1

Return value

Returns a dictionary resource identifier on success or FALSE on failure.