public function getYearDays($y){
.........
for ($i=0x8000; $i >=0x10 ; $i>>=1) {
$sum += ($this->dataInfo[$y-1900] & $i)? 1 : 0;
为什么这里的for循环要右移一位
}
return($sum+$this->leapDays($y));
}
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
你想问什么思想问题,能不能说的详细一些?