Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49857 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43803 invoked from network); 3 Oct 2010 23:27:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Oct 2010 23:27:17 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 67.192.241.133 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 67.192.241.133 smtp133.dfw.emailsrvr.com Linux 2.6 Received: from [67.192.241.133] ([67.192.241.133:53628] helo=smtp133.dfw.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6B/28-22289-45119AC4 for ; Sun, 03 Oct 2010 19:27:16 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp13.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id 57D733D0103; Sun, 3 Oct 2010 19:27:14 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp13.relay.dfw1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id DDBB13D007E; Sun, 3 Oct 2010 19:27:13 -0400 (EDT) Message-ID: <4CA91151.2010104@sugarcrm.com> Date: Sun, 03 Oct 2010 16:27:13 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: Pierre Joye CC: Derick Rethans , PHP Internals References: <4CA6885F.3040709@sugarcrm.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] rfc2616 datetime format? From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > It looks like a sub optimal choice to have used string constants > instead of integer. However it could be still possible to define new > constants as numeric. It is then possible to do whatever needs to be > done as post or pre ops for the respective constants. I'm not sure what integers have to do with it? The constants define date formats that are in common use, RFC2616 is one of the commonest on the web and we don't have a constant for it... -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227