Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:68655 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37019 invoked from network); 28 Aug 2013 21:43:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Aug 2013 21:43:20 -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 108.166.43.91 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 108.166.43.91 smtp91.ord1c.emailsrvr.com Linux 2.6 Received: from [108.166.43.91] ([108.166.43.91:49504] helo=smtp91.ord1c.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 69/F7-33204-7FE6E125 for ; Wed, 28 Aug 2013 17:43:20 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp4.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id 9E4C5140117; Wed, 28 Aug 2013 17:43:17 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp4.relay.ord1c.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 32316140122; Wed, 28 Aug 2013 17:43:17 -0400 (EDT) Message-ID: <521E6EF4.4070000@sugarcrm.com> Date: Wed, 28 Aug 2013 14:43:16 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Nikita Popov CC: Daniel Lowrey , Derick Rethans , PHP internals References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] date.timezone E_WARNING -- Really necessary? What's the rationale? From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! > * Set date.timezone = UTC as the default INI value > * In php.ini-production and php.ini-development uncomment the > ;date.timezone = > line, i.e. change it to > date.timezone = I think this is fine but for the distros that ship with empty php.ini it'd still produce a warning. But I think enabling zero-ini to run without warnings (with whatever defaults there are) is a good idea. Maybe still worth having RFC and a vote on it. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227