Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39272 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73230 invoked from network); 24 Jul 2008 15:11:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jul 2008 15:11:01 -0000 Authentication-Results: pb1.pair.com header.from=jack@smartertravelmedia.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=jack@smartertravelmedia.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain smartertravelmedia.com designates 65.112.23.142 as permitted sender) X-PHP-List-Original-Sender: jack@smartertravelmedia.com X-Host-Fingerprint: 65.112.23.142 relay1.smarterliving.net Linux 2.4/2.6 Received: from [65.112.23.142] ([65.112.23.142:44377] helo=typhoon.smarterliving.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B3/67-44225-28B98884 for ; Thu, 24 Jul 2008 11:11:00 -0400 Received: from [192.168.1.105] (port=1589 helo=sullivan.smarterliving.com) by typhoon.smarterliving.net (envelope-from ) with esmtp (Exim 4.60) id 1KM2T1-0000wI-Em; Thu, 24 Jul 2008 11:10:55 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 24 Jul 2008 11:09:56 -0400 Message-ID: <7AFF263C3DBE2549899F71BB925794FF0492A86F@sullivan.smartertravelmedia.com> In-Reply-To: <4888931D.6080405@gmx.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PHP-DEV] question about backward-compatibility break/bug in php 5.2.6 Thread-Index: Acjtmr8/gxKUBDINQMW3rfdAog3gNwAA9NiA References: <7AFF263C3DBE2549899F71BB925794FF0492A863@sullivan.smartertravelmedia.com> <48884251.1020300@gmx.net> <7AFF263C3DBE2549899F71BB925794FF0492A865@sullivan.smartertravelmedia.com> <4888931D.6080405@gmx.net> To: "Christian Seiler" Cc: Subject: RE: [PHP-DEV] question about backward-compatibility break/bug in php 5.2.6 From: jack@smartertravelmedia.com ("Jack Steadman") > Ah, yes, the change responsible is the following: >=20 > r1=3D1.10.2.11.2.4&r2=3D1.10.2.11.2.5&pathrev=3DPHP_5_2> >=20 > It fixes bug #44209 .=20 OK, thanks, it's good to understand the change in behavior. > Or to put it that way: The current behaviour of PHP 5.2.6 is the > expected behaviour (at least what reading the source tells about the > author's intentions) and it was broken before. >=20 > As to whether it's a good idea that strtotime() accepts invalid dates, > I'll stay out of that discussion. If this is the way it's always been (accepting zero month and day values as you described earlier), then I suspect that you'll be reluctant to change behavior without significant thought (and of course, I wouldn't expect otherwise, even though I've expressed my disagreement with the current behavior). What's the best way to get this fully documented? Should I submit a new bug report relating to the documentation, rather than a PHP bug? Jack