fork download
  1. <?php
  2.  
  3. $a = "test";
  4.  
  5. $b = password_hash($a, PASSWORD_DEFAULT);
  6. $c = password_hash($b, PASSWORD_DEFAULT);
  7. print password_verify($b, $c) ? "true" : "false";
Success #stdin #stdout 0.28s 24400KB
stdin
Standard input is empty
stdout
true