<?php
$senha = "151201";
$hash = crypt($senha, SALT
);
if (password_verify($senha, $hash)) {
$teste = "Senha correta";
echo $teste;
} else {
$teste = "Senha incorreta";
echo $teste;
}
PD9waHAKCmRlZmluZSgiU0FMVCIsIHVuaXFpZCgpKTsKCiRzZW5oYSA9ICIxNTEyMDEiOwoKJGhhc2ggPSBjcnlwdCgkc2VuaGEsIFNBTFQpOwoKaWYgKHBhc3N3b3JkX3ZlcmlmeSgkc2VuaGEsICRoYXNoKSkgewogICAgJHRlc3RlID0gIlNlbmhhIGNvcnJldGEiOwogICAgZWNobyAkdGVzdGU7Cn0gZWxzZSB7CiAgICAkdGVzdGUgPSAiU2VuaGEgaW5jb3JyZXRhIjsKICAgIGVjaG8gJHRlc3RlOwp9