Php Password_Get_Info
# PHP password_get_info() Function
[PHP Password Hashing Algorithm](#)
The password_get_info() function is used to return information related to a given hash.
PHP Version Requirement: PHP 5 >= 5.5.0, PHP 7
### Syntax
array password_get_info ( string $hash )
Parameter Description:
* $hash: A hash value created by [password_hash()](#).
### Return Value
Returns an associative array with three elements:
* algo: The constant matching the password algorithm.
* algoName: The human-readable algorithm name.
* options: The options provided when calling password_hash().
### Example
## Example
11]); // View information print_r(password_get_info($password_hash));
The output is:
Array( => 1 => bcrypt => Array ( => 11 ))
[PHP Password Hashing Algorithm](#)
YouTip