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
hashkeys(3) - debian
hashset(3) - debian
md5(3) - php
sha1(3) - php
sha1_file(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Status of UNIX.COM Forum Transformation
Please Welcome Nicki Paul to the Moderator Team!