mhash_get_hash_name

Get the name of the specified hash (PHP 3>= 3.0.9, PHP 4 )
string mhash_get_hash_name ( int hash )

mhash_get_hash_name() is used to get the name of the specified hash.

mhash_get_hash_name() takes the hash id as an argument and returns the name of the hash or FALSE, if the hash does not exist.

Example 541. mhash_get_hash_name() example

<?php
$hash
= MHASH_MD5;

print
mhash_get_hash_name ($hash);
?>

The above example will print out:

MD5

This HTML Help has been published using the chm2web software.