search

Home  >  Q&A  >  body text

Thinking problem

public function getYearDays($y){

.........

for ($i=0x8000; $i >=0x10 ; $i>> ;=1) {

$sum = ($this->dataInfo[$y-1900] & $i)? 1 : 0;

Why does the for loop here need to be shifted right? One

}

return($sum $this->leapDays($y));

}


##

chachachacha2444 days ago1110

reply all(1)I'll reply

  • 亚连

    亚连2018-06-09 17:46:17

    What ideological question do you want to ask? Can you explain it in more detail?

    reply
    0
  • Cancelreply