function createHash($string) {
$check1 = $this->stringToNumber($string, 0x1505, 0x21);
$check2 = $this->stringToNumber($string, 0, 0x1003F);
$factor = 4;
$halfFactor = $factor/2;
$check1 >>= $halfFactor;
$check1 = (($check1 >> $factor) & 0x3FFFFC0) | ($check1 & 0x3F);
$check1 = (($check1 >> $factor) & 0x3FFC00) | ($check1 & 0x3FF);
$check1 = (($check1 >> $factor) & 0x3C000) | ($check1 & 0x3FFF);
$calc1 = (((($check1 & 0x3C0) << $factor) |
($check1 & 0x3C)) << $halfFactor) |
($check2 & 0xF0F);
$calc2 = (((($check1 & 0xFFFFC000) << $factor) |
($check1 & 0x3C00)) << 0xA) |
($check2 & 0xF0F0000);
return ($calc1 | $calc2);
}
>> =這個表達式代表什麼?它對我來說看起來很奇怪。我在Google上找不到任何問題。php表達問題
>>所以這代表什麼? – matiasdelgado 2011-06-04 03:52:35
什麼!爲什麼要投票! ? – Legolas 2011-06-04 03:56:12