How to get the random salt from password_hash in PHP?
<p>I've read in the manual that the PHP-function <code>password_hash()</code> uses a random salt to hash the password. How to get this random salt for saving it to database?</p>