RE: [PHP-DEV] question about backward-compatibility break/bug in php 5.2.6

2008-07-24 Thread Jack Steadman
Thank you for taking the time to explain this to me. A couple more points below: > strtotime() has always accepted month and day numbers 0 in order to > express "last month of the previos year" and "last day of the previous > month". Take: So my biggest issue with this is that it's exception-cas

RE: [PHP-DEV] question about backward-compatibility break/bug in php 5.2.6

2008-07-24 Thread Jack Steadman
> I'm not sure that there's any problem with the documentation > (although it wouldn't hurt to mention it in the comments). > What is it about "-00-00 00:00:00" that makes it an > invalid date? (See Christian's explanation) Zero values for month and day are NOT valid. PHP treats them as v

RE: [PHP-DEV] question about backward-compatibility break/bug in php 5.2.6

2008-07-24 Thread Jack Steadman
> Ah, yes, the change responsible is the following: > > r1=1.10.2.11.2.4&r2=1.10.2.11.2.5&pathrev=PHP_5_2> > > It fixes bug #44209 . OK, thanks, it's good to understand the change in behavior

[PHP-DEV] question about backward-compatibility break/bug in php 5.2.6

2008-07-23 Thread Jack Steadman
uld prefer not to do that. Thanks, Jack Steadman Smarter Travel Media LLC -- Operating system: RHEL 4/5 PHP version: 5.2.6 PHP Bug Type: Date/time related Bug description: strtotime parses -00-00 00:00:00 as valid date D