Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

$hash = '$P$BVkil0p850ufCHs.ovF/0eS96iY/hz1'; $password = 'password_to_check'; if (pas..

Decoded Output download

<?  $hash = '$P$BVkil0p850ufCHs.ovF/0eS96iY/hz1'; 
$password = 'password_to_check'; 
 
if (password_verify($password, $hash)) { 
    echo 'Password is valid!'; 
} else { 
    echo 'Invalid password.'; 
} 
 ?>

Did this file decode correctly?

Original Code

$hash = '$P$BVkil0p850ufCHs.ovF/0eS96iY/hz1';
$password = 'password_to_check';

if (password_verify($password, $hash)) {
    echo 'Password is valid!';
} else {
    echo 'Invalid password.';
}

Function Calls

password_verify 1

Variables

$hash $P$BVkil0p850ufCHs.ovF/0eS96iY/hz1
$password password_to_check

Stats

MD5 3ab3b988e196cb0471b5f805c5670bb9
Eval Count 0
Decode Time 54 ms