PHP.nl

password_get_info

password_get_info

Returns information about the given hash

array **password_get_info** string $hash

When passed in a valid hash created by an algorithm supported by , this function will return an array of information about that hash. password_hash

hashpassword.parameter.hash

Returns an associative array with three elements:

  • , which will match a algopassword algorithm constant
  • , which has the human readable name of the algorithm algoName
  • , which includes the options provided when calling options``password_hash