array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'it', ), 'this' => array ( 0 => 'function.password-get-info.php', 1 => 'password_get_info', 2 => 'Returns information about the given hash', ), 'up' => array ( 0 => 'ref.password.php', 1 => 'Password Hashing Funzioni', ), 'prev' => array ( 0 => 'function.password-algos.php', 1 => 'password_algos', ), 'next' => array ( 0 => 'function.password-hash.php', 1 => 'password_hash', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/password/functions/password-get-info.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PHP 5 >= 5.5.0, PHP 7, PHP 8)
password_get_info — Returns information about the given hash
When passed in a valid hash created by an algorithm supported by password_hash(), this function will return an array of information about that hash.
hashUn hash creato da password_hash().
Returns an associative array with three elements:
algo, which will match a
password algorithm constant
algoName, which has the human readable name of the
algorithm
options, which includes the options
provided when calling password_hash()