Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20062 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62500 invoked by uid 1010); 16 Nov 2005 12:24:39 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 62484 invoked from network); 16 Nov 2005 12:24:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Nov 2005 12:24:39 -0000 X-Host-Fingerprint: 194.109.193.120 unknown Linux 2.4/2.6 Received: from ([194.109.193.120:34137] helo=mx1.moulin.nl) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 5C/B6-07637-7052B734 for ; Wed, 16 Nov 2005 07:24:39 -0500 Received: from localhost (localhost [127.0.0.1]) by mx1.moulin.nl (Postfix) with ESMTP id 1F684186EBE; Wed, 16 Nov 2005 13:24:40 +0100 (CET) Received: from mx1.moulin.nl ([127.0.0.1]) by localhost (moulin [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25739-07; Wed, 16 Nov 2005 13:24:38 +0100 (CET) Received: from [192.168.1.16] (bspr.xs4all.nl [194.109.161.228]) by mx1.moulin.nl (Postfix) with ESMTP id 7A999DD264; Wed, 16 Nov 2005 13:24:38 +0100 (CET) Message-ID: <437B2501.5070601@iamjochem.com> Date: Wed, 16 Nov 2005 13:24:33 +0100 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rasmus Lerdorf Cc: Derick Rethans , Andrei Zmievski , Wez Furlong , Jani Taskinen , internals@lists.php.net 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> In-Reply-To: <437ADF38.9050900@lerdorf.com> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at moulin.nl Subject: Re: [PHP-DEV] date() behaviour changed in 5.1? From: jochem@iamjochem.com (Jochem Maas) 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. neither do I - and I garantee it will make PHP less attractive as a tool especially to the legions of 'noobs' that account for the popularity of php. (I throw the same argument at the changes made to array_merge() with regard to no longer accepting non-array values) I would suggest that psychologically any BC breakage and inconsitency introduced in the short to medium term hits twice as hard because of the reference related fixes/breaks/changes (which in itself is already a big hurdle for lots of developers and ISPs) - my point being that for the sake of the future wellbeing of the community someone should be stepping on the "Purism Brake" a little harder. the pragmatic ideal embodied in php since its conception is being somewhat eroded imho, and I don't see the point in creating a 'perfect' tool if only 10 people are capable of and want to use it. rgds, Jochem > > -Rasmus >