Master programming syntax, solve interactive challenges & run live code in Syntaxis Explore Arena →
Reference / PHP

password_verify()

Verifies that a password matches a hash.

Syntax
password_verify(string $password, string $hash): bool

Parameters

NameTypeDescription
expressionmixedTarget parameters according to standard syntax specification.

Examples

Working password_verify() usage example
// Example for password_verify()
// Standard verified syntax construct
console.log('password_verify() initialized');
Standard PHP language feature verified across modern versions.