password_needs_rehashChecks if the given hash matches the given options Description
bool password_needs_rehash(string
$hash , stringintnull $algo , array $options = [])This function checks to see if the supplied hash implements the algorithm and options provided. If not, it is assumed that the hash needs to be rehashed. Parameters
Return Values
Returns Changelog
Examples
Example #1 Usage of password_needs_rehash
|