Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20022 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64289 invoked by uid 1010); 15 Nov 2005 17:38:11 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 64273 invoked from network); 15 Nov 2005 17:38:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Nov 2005 17:38:11 -0000 X-Host-Fingerprint: 84.56.19.132 dslb-084-056-019-132.pools.arcor-ip.net Received: from ([84.56.19.132:14861] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id AE/97-07637-30D1A734 for ; Tue, 15 Nov 2005 12:38:11 -0500 To: internals@lists.php.net,rasmus@lerdorf.com (Rasmus Lerdorf) Date: Tue, 15 Nov 2005 18:38:05 +0100 Message-ID: <20051115183805.3991a5c7@localhost.localdomain> In-Reply-To: <437A1AF9.3030200@lerdorf.com> References: <437A0D24.6030701@caedmon.net> <20051115181307.18c2b27b@localhost.localdomain> <437A1820.8060902@lerdorf.com> <20051115181957.06d0f14e@localhost.localdomain> <437A1AF9.3030200@lerdorf.com> Reply-To: pierre.php@gmail.com X-Newsreader: Sylpheed-Claws 1.9.14 (GTK+ 2.8.6; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Posted-By: 84.56.19.132 Subject: Re: [PHP-DEV] date() behaviour changed in 5.1? From: pierre.php@gmail.com (Pierre) On Tue, 15 Nov 2005 09:29:29 -0800 rasmus@lerdorf.com (Rasmus Lerdorf) wrote: >> my answer was to Jani's. > > I realize that, but Jani said "bad data" not data of the wrong type. > Your example didn't have any bad data. You just had "100" which is a > perfectly valid numeric string and will work in all cases. The point is still valid. I believe there is will be enough changes in 5.1 in the date area without this one. I do not consider trailing white chars as invalid (especially not spaces). It is common to pass those values directly from a database results, results can sometimes use fixed length strings. --Pierre