Output

Original: password

Secure: $2y$10$Qp0DMJBqiWrvLQyKcMQH/.EMJA4lALO35kuMbh3QMq91hRJYV7iZS


Password Compare: $2y$10$Qp0DMJBqiWrvLQyKcMQH/.EMJA4lALO35kuMbh3QMq91hRJYV7iZS vs. password

Check Passwords Match: Yes

Input

<?php 

$original = 'password';
$secure = password_hash($original, CRYPT_BLOWFISH);

$toCheck = 'password';
$valid = password_verify($toCheck, $secure);

?>