title: Trying to understand password_verify PHP
body: <p>I am trying to understand how password_verify work to use it for resetting the password.
  I would've thought this would've worked, but the hashed don't seem to match?</p>
  
  <pre><code>$sUniqueCode = uniqid('1234', true);
  $sHash1 = password_hash($sUniqueCode, PASSWORD_DEFAULT);
  $sHash2 = password_hash($sUniqueCode, PASSWORD_DEFAULT);
  $sHash3 = password_hash($sUniqueCode, PASSWORD_DEFAULT);
  
  echo "Hash 1: ".$sHash1."&lt;br&gt;";
  echo "Hash 2: ".$sHash2."&lt;br&gt;";
  echo "Hash 3: ".$sHash3."&lt;br&gt;";
  
  if(password_verify($sHash1, $sHash1)) {
      echo "Hash 1 = hash 2 &lt;br&gt;";
  }
  
  if(password_verify($sHash3, $sHash1)) {
      echo "Hash 1 = hash 3";
  }
  </code></pre>
  
  <p>I don't get an echo of the last two conditions, what am I missing here?</p>
  
  <p><strong>Context</strong></p>
  
  <p>Why I want to understand this is because I want to generate one hash of the same unique_id to be stored in the database, and 1 to be send in an email as GET-variable.</p>
  
  <p>If the example above does not work, the comparison of the two hashes on my website will not validate to true either, right?</p>