note 51086 added to function.mhash
| From: | robbie | Date: | Sat, 19 Mar 2005 01:18:00 +0000 |
| Subject: | note 51086 added to function.mhash | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-86675@lists.php.net to get a copy of this message | ||
This confused me a bit when I first read the documetation for mhash. The functions that accept a
hash accept them as an INTEGER not a STRING. In this case, MHASH_MD5 = 1. It is a constant, not a
string.
Just thought I'd point that out, so if anyone is confused they can read that. That's the
use of mhash_get_hash_name(). You input the constant (which is an integer) and it returns the hash
name.
----
Manual Page -- http://www.php.net/manual/en/function.mhash.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+51086
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51086&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51086&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51086&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51086&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51086&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+51086&report=yes
Search -- http://master.php.net/manage/user-notes.php