I have been working with the checkdate function within PHP. You can see the code that I have used at http://codepad.org/JY4hG7jo feel free to fork the code where you see fit.
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.
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.
Any insight is appreciated.