PHP password_hash changing every time : <p>I have the code</p>

<pre><code> echo password_hash( 'i=badatphp', PASSWORD_BCRYPT, [ 'cost' =&gt; 10 ] );
</code></pre>

<p>Every time I run the script the password changes</p>

<p>I'm using PHP 7, and in PHP 5  I used to be able to set a salt, but now I can't</p>

<p>How am I supposed to overcome not knowing what the salt is?</p>
