WordPress at a glance
function is not described

PasswordHash::__construct() public WP 1.0

PHP5 constructor.

{} It's a method of the class: PasswordHash{}

No Hooks.

Return

null. Null. Nothing.

Usage

$PasswordHash = new PasswordHash();
$PasswordHash->__construct( $iteration_count_log2, $portable_hashes );
$iteration_count_log2 (required)
-
$portable_hashes (required)
-

Code of PasswordHash::__construct() WP 5.7

<?php
function __construct( $iteration_count_log2, $portable_hashes )
{
	$this->itoa64 = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';

	if ($iteration_count_log2 < 4 || $iteration_count_log2 > 31)
		$iteration_count_log2 = 8;
	$this->iteration_count_log2 = $iteration_count_log2;

	$this->portable_hashes = $portable_hashes;

	$this->random_state = microtime() . uniqid(rand(), TRUE); // removed getmypid() for compatibility reasons
}