PHP Wysardry
PHP Manual

PHP documentation.



Home / PHP / Manual / ...



PHP Manual
Prev Next

mhash_get_hash_name

(3.0.9 - 3.0.18 only, PHP 4 >= 4.0.0)

mhash_get_hash_name -- Get the name of the specified hash

Description

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 1. mhash_get_hash_name() Example

<?php
$hash = MHASH_MD5;

print mhash_get_hash_name ($hash);
?>

The above example will print out:

MD5

Prev Manual Home Next
Mhash Functions Up mhash_get_block_size
Site Menu

Amazon.ca
Amazon.com
Amazon.co.uk



Most recently updated on 11 May, 2003

Home / PHP / Manual / ...



Please feel free to contact us with any comments or suggestions
PHP Manual
PHP Wysardry

This site is hosted by Spaceports