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
hashremove(3) - debian
hashstash(3) - debian
md5_file(3) - php
sha1(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Please Welcome Nicki Paul to the Moderator Team!