This takes a hash and verifies it against a supplied password, and also shows encryption information.
password_verify()
Verifies that the submitted hash matches the submitted password. Here, we also use password_get_info() to show information about the submitted hash.
More info: php.net