Mysterious Code
Posted: Thu Jul 17, 2008 9:35 pm
Hey, I'm trying to figure out how
$arrMD5Chars="a4cd31g";
foreach ($arrMD5Chars as $value) //for each value in arrMD5Chars, given the value $value
{
$intTotal += '0x0'.$value;
}
creates the value $intTotal. Specifically, what does the "'0x0'.$value" mean?
$arrMD5Chars="a4cd31g";
foreach ($arrMD5Chars as $value) //for each value in arrMD5Chars, given the value $value
{
$intTotal += '0x0'.$value;
}
creates the value $intTotal. Specifically, what does the "'0x0'.$value" mean?