mhash_count(3) php man page | unix.com

Man Page: mhash_count

Operating Environment: php

Section: 3

MHASH_COUNT(3)								 1							    MHASH_COUNT(3)

mhash_count - Gets the highest available hash ID

SYNOPSIS
int mhash_count (void )
DESCRIPTION
Gets the highest available hash ID.
RETURN VALUES
Returns the highest available hash ID. Hashes are numbered from 0 to this hash ID.
EXAMPLES
Example #1 Traversing all hashes <?php $nr = mhash_count(); for ($i = 0; $i <= $nr; $i++) { echo sprintf("The blocksize of %s is %d ", mhash_get_hash_name($i), mhash_get_block_size($i)); } ?> PHP Documentation Group MHASH_COUNT(3)
Related Man Pages
hashget(3) - debian
hashkeys(3) - debian
mhash(3) - debian
password_needs_rehash(3) - php
sha1_file(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
User Guide: Posting in the Emergency Forum
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Please Welcome Nicki Paul to the Moderator Team!