2 /* Prototype : string md5 ( string $str [, bool $raw_output= false ] )
3 * Description: Calculate the md5 hash of a string
4 * Source code: ext/standard/md5.c
7 echo "*** Testing md5() : basic functionality - with raw output***\n";
9 $md5_raw = md5($str, true);
10 var_dump(bin2hex($md5_raw));
12 $md5 = md5($str, false);
14 if (strcmp(bin2hex($md5_raw), $md5) == 0 ) {
18 var_dump($md5_raw, $md5);