<?php
$senha = "151201";
$hash = password_hash($senha, PASSWORD_DEFAULT);
if (password_verify($senha, $hash)) {
$teste = "Senha correta";
echo $teste;
} else {
$teste = "Senha incorreta";
echo $teste;
}
PD9waHAKCiRzZW5oYSA9ICIxNTEyMDEiOwoKJGhhc2ggPSBwYXNzd29yZF9oYXNoKCRzZW5oYSwgUEFTU1dPUkRfREVGQVVMVCk7CgppZiAocGFzc3dvcmRfdmVyaWZ5KCRzZW5oYSwgJGhhc2gpKSB7CiAgICAkdGVzdGUgPSAiU2VuaGEgY29ycmV0YSI7CiAgICBlY2hvICR0ZXN0ZTsKfSBlbHNlIHsKICAgICR0ZXN0ZSA9ICJTZW5oYSBpbmNvcnJldGEiOwogICAgZWNobyAkdGVzdGU7Cn0=