説明
string mhash_get_hash_name
(int hash);
mhash_get_hash_name は指定した(hash)の
名前を得るために使用されます。
mhash_get_hash_name は引数としてハッシュIDをとり、
ハッシュの名前を返します。そのハッシュが存在しない場合は、falseを
返します。
例 1. mhash_get_hash_name の例
<?php
$hash = MHASH_MD5;
print mhash_get_hash_name($hash);
?>
上の例の出力は次のようになります。
MD5