ZF-2980: compareDate() results in many calls to isYearLeapYear()
I was profiling my app and noticed what looks like an excessive number of calls to this function.
This simple code results in 4018 calls to isYearLeapYear()
$s = new Zend_Date('311207', 'ddMMyy'); $e = new Zend_Date('090108', 'ddMMyy'); $s->compareDate($e);
I'm raising this just in case a mistake was made. Could be no issue.