// string md5( string $str [, bool $raw_output = false ])
$s = "hash of a string";
echo md5($s) . "<br />";
if (md5($s) === 'd5d901406a33c7c636a1d697f0915555')
echo "Correct";
else
echo "Not Correct";
/*
run:
d5d901406a33c7c636a1d697f0915555
Correct
*/