MHASH_COUNT(3) 1 MHASH_COUNT(3) mhash_count - Gets the highest available hash IDSYNOPSISint mhash_count (void )DESCRIPTIONGets the highest available hash ID.RETURN VALUESReturns the highest available hash ID. Hashes are numbered from 0 to this hash ID.EXAMPLESExample #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 |