password_get_info

(PHP 5 >= 5.5.0, PHP 7)

password_get_infoReturns information about the given hash

Description

password_get_info ( string $hash ) : array

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.

Parameters

hash

A hash created by password_hash().

Return Values

Returns an associative array with three elements:

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.password-get-info.php