Function __global->_phpbb_uses_php_password_api

Definitions

sources/forum/phpbb3.php

  • Find whether a phpBB password should be checked using the PHP password API (password_hash/password_verify).
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$password_hash string No No required parameter N/A N/A Password hash

Returns

  • Whether it should
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Find whether a phpBB password should be checked using the PHP password API (password_hash/password_verify).
 *
 * @param  string $password_hash Password hash
 * @return boolean Whether it should
 */

function _phpbb_uses_php_password_api(string $password_hash) : bool