Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62664 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42571 invoked from network); 2 Sep 2012 09:07:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Sep 2012 09:07:25 -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.143 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 67.192.241.143 smtp143.dfw.emailsrvr.com Linux 2.6 Received: from [67.192.241.143] ([67.192.241.143:52781] helo=smtp143.dfw.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E5/95-17065-DC123405 for ; Sun, 02 Sep 2012 05:07:25 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp4.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id DE8C53A031A; Sun, 2 Sep 2012 05:07:22 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp4.relay.dfw1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 949A03A0332; Sun, 2 Sep 2012 05:07:22 -0400 (EDT) Message-ID: <504321CA.2090307@sugarcrm.com> Date: Sun, 02 Sep 2012 02:07:22 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:15.0) Gecko/20120824 Thunderbird/15.0 MIME-Version: 1.0 To: Will Fitch CC: "internals@lists.php.net" References: <5042BC3C.7070208@sugarcrm.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] RFC for Adding __toString to DateTime From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > Hi, Stas. This has been on my mind as well. I've considered that maybe > an INI wide setting would be beneficial here. In fact, there are many > places within applications I've worked on where the format for many > DateTime objects are the same. What are your thoughts on that? I think yet another ini setting is not a good solution, ini settings are hard to control and they are not meant to deal with application-specific things, since they're global. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227