password_verify

PHP 5 >= 5.5.0, PHP 7, PHP 8
password_verify - Verifies that a password matches a hash

Example #1 password_verify example

Result: Password is valid!
PHP Version:


Example #2 of password_verify

PHP Version:


Function password_verify:

Password Hashing Functions

Most used PHP functions