//是否为闰年 function isLeapYear($year) { return $year%4 === 0 && $year%100 !== 0 /*普通闰年*/|| $year%400 === 0/*世纪闰年*/; }
如果觉得我的回答对您有用,请随意打赏。你的支持将鼓励我继续创作!