(PHP 5 >= 5.5.0, PHP 7)
password_get_info — Returns information about the given hash
$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.
hash
A hash created by password_hash().
Returns an associative array with three elements: