$password = 'my password'; echo password_hash($password, PASSWORD_DEFAULT); echo '<br>'; echo password_hash($password, PASSWORD_DEFAULT);