• PHP Video Tutorials

PHP - mhash_count() Function



The mhash_count() function can get the highest available hash identifier.

Syntax

int mhash_count( void )

The mhash_count() function can return the highest available hash identifier. The hashes are numbered from 0 to this hash ID.

Example

<?php
   $nbrmh = mhash_count();
   $nbrmt = $nbrmh;

   echo "Highest available hash Identifier: " . $nbrmt;
?> 

Output

Highest available hash Identifier: 33
php_function_reference.htm
Advertisements