Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20054 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80352 invoked by uid 1010); 16 Nov 2005 08:24:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 80336 invoked from network); 16 Nov 2005 08:24:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Nov 2005 08:24:23 -0000 X-Host-Fingerprint: 195.197.172.115 gw01.mail.saunalahti.fi Linux 2.4/2.6 Received: from ([195.197.172.115:33887] helo=gw01.mail.saunalahti.fi) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 63/4D-07637-6BCEA734 for ; Wed, 16 Nov 2005 03:24:23 -0500 Received: from nest.netphobia.fi (YZDCXXXI.dsl.saunalahti.fi [85.76.35.232]) by gw01.mail.saunalahti.fi (Postfix) with ESMTP id ED624FEF05; Wed, 16 Nov 2005 10:24:16 +0200 (EET) Received: from nest.netphobia.fi (nest.netphobia.fi [127.0.0.1]) by nest.netphobia.fi (8.13.1/8.13.1) with ESMTP id jAG8OHOd001062; Wed, 16 Nov 2005 10:24:17 +0200 Received: from localhost (jani@localhost) by nest.netphobia.fi (8.13.1/8.13.1/Submit) with ESMTP id jAG8OHqq001059; Wed, 16 Nov 2005 10:24:17 +0200 X-Authentication-Warning: nest.netphobia.fi: jani owned process doing -bs Date: Wed, 16 Nov 2005 10:24:17 +0200 (EET) Reply-To: Jani Taskinen To: Rasmus Lerdorf cc: internals@lists.php.net In-Reply-To: <437ADF38.9050900@lerdorf.com> Message-ID: References: <437A0D24.6030701@caedmon.net> <20051115181307.18c2b27b@localhost.localdomain> <437A1820.8060902@lerdorf.com> <437A1BD1.9030309@lerdorf.com> <4e89b4260511150942g6f3cab3boad1c09eb1c1e7318@mail.gmail.com> <5D7AB792-4788-4C97-B523-7E15DAAB16E9@gravitonic.com> <437ADF38.9050900@lerdorf.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [PHP-DEV] date() behaviour changed in 5.1? From: sniper@iki.fi (Jani Taskinen) On Tue, 15 Nov 2005, Rasmus Lerdorf wrote: > > Derick Rethans wrote: >> On Tue, 15 Nov 2005, Andrei Zmievski wrote: >> >>> Perhaps, but I would maintain that passing "123abc" and having it >>> interpreted >>> as 123 is still wrong. >> >> Yeah, I lean that way too, although trailing whitespace should be supported >> IMO. > > I don't like having two different ways to cast things and I think we would > break a lot of stuff if (int)"123abc" no longer resulted in 123. What has casting and passing a parameter have to do with each other anyway? IMO, they're totally different things. --Jani