Function __global->password_needs_rehash
Definitions
sources_custom/phpstub.php
- Checks if the given hash matches the given options.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$hash | string | required parameter | N/A | N/A | The password hash |
$algo | integer | required parameter | N/A | N/A | The algorithm wanted (Defined by PASSWORD_* constants) |
$options | ?array | Null | N/A | N/A | The options for the algorithm wanted (null: no options) |
Return
- Whether rehash is needed
- Type: boolean
- Set: N/A
- Range: N/A