Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37413 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70242 invoked from network); 2 May 2008 21:33:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 May 2008 21:33:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.94.239.7 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.94.239.7 mail.jdi-ict.nl Linux 2.6 Received: from [82.94.239.7] ([82.94.239.7:50329] helo=mail.jdi-ict.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 42/E2-55202-BA88B184 for ; Fri, 02 May 2008 17:33:32 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.jdi-ict.nl (8.13.7/8.12.11) with ESMTP id m42LXRoG014316; Fri, 2 May 2008 23:33:27 +0200 Date: Fri, 2 May 2008 23:33:30 +0200 (CEST) X-X-Sender: derick@kossu.ez.no To: "Jon L." cc: php-internals In-Reply-To: <5ad2dbbf0805021408g33020853oc318f3f633bc8fbd@mail.gmail.com> Message-ID: References: <5ad2dbbf0805021408g33020853oc318f3f633bc8fbd@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Subject: Re: [PHP-DEV] small bug in date() From: derick@php.net (Derick Rethans) On Fri, 2 May 2008, Jon L. wrote: > php-5.2.6\ext\date\php_date.c @ 813-820 > > rfc_colon isn't reset between the 'O' and 'P' format characters. > Allowing (date('P O') === date('P P')) to return true. > > Has anyone else noticed this? No, but I just fixed it in CVS for PHP 5.3 and HEAD, and will do PHP 5.2 as well. regards, Derick -- Derick Rethans http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org