[php-maint] Bug#702903: php date_parse_from_format reports invalid values

Johnny Luong Johnny.Luong at trustcommerce.com
Tue Mar 12 19:08:20 UTC 2013

Package: php5-cli
Version: 5.3.3-7+squeeze14

When I invoke the following code, the day in the array return is invalid ([month] -> 1, [day] -> 71).

print_r(date_parse_from_format('z', '70'));

On Debian Wheezy (testing), it appears to provide a valid month and day for the current year.

More information about the pkg-php-maint mailing list