mhash_count
(PHP3 >= 3.0.9 , PHP4)
mhash_count --- 取得最高的有效的拼凑 id
语法 :
int mhash_count
(void)说明 :
mhash_count( )传回最高的有效的拼凑 id,拼凑数值是从0到此拼凑 id。
Example :
<?php
$nr = mhash_count();
for ($i = 0; $i <= $nr; $i++) {
echo sprintf ("The blocksize of %s is %d\n", mhash_get_hash_name ($i), mhash_get_block_size ($i));
}
?>