/* User's password. */ $password = 'my secret password'; /* Secure password hash. */ $hash = password_hash($password, PASSWORD_DEFAULT);