<?php
$pass1=’pass1′;
$pass2=’pass2′;
$pass3=’jkdlsddfwer’;
$pass4=’23423534534′;
$hash1=password_hash($pass1,PASSWORD_BCRYPT);
print $hash1;
print ‘<br>’;
$hash2=password_hash($pass2,PASSWORD_BCRYPT);
print $hash2;
print ‘<br>’;
$hash3=password_hash($pass3,PASSWORD_BCRYPT);
print $hash3;
print ‘<br>’;
$hash4=password_hash($pass4,PASSWORD_BCRYPT);
print $hash4;
print ‘<br>’;
print ‘<br>’;
$result_a=password_verify(‘pass1’,$hash1);
if($result_a===true){
echo “OK!!”;
}else{
echo “NG”;
}
print ‘<br>’;
$result_a=password_verify(‘jkdlsddfwer’,$hash3);
if($result_a===true){
echo …