Inconsistent checkdate results
<p>I have been working with the checkdate function within PHP. You can see the code that I have used at <a href="http://codepad.org/JY4hG7jo" rel="nofollow">http://codepad.org/JY4hG7jo</a> feel free to fork the code where you see fit.</p>

<p>Basically, if I check a month with a leading zero for the months 08, 09 I get an invalid date response. However, when I run it through a loop to check all the months; It returns a valid response for these months.</p>

<p>The main issue is not why the loop produces different results, more why the date is classed as invalid. The loop is likely an error on my part.</p>

<p>Any insight is appreciated.</p>
