Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81221 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48466 invoked from network); 27 Jan 2015 10:37:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jan 2015 10:37:42 -0000 Authentication-Results: pb1.pair.com smtp.mail=ml@anderiasch.de; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ml@anderiasch.de; sender-id=pass Received-SPF: pass (pb1.pair.com: domain anderiasch.de designates 81.169.138.148 as permitted sender) X-PHP-List-Original-Sender: ml@anderiasch.de X-Host-Fingerprint: 81.169.138.148 ares.art-core.org Received: from [81.169.138.148] ([81.169.138.148:40855] helo=ares.art-core.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A2/16-18778-37A67C45 for ; Tue, 27 Jan 2015 05:37:40 -0500 Received: from parabellum.local (p5093a1a9.dip0.t-ipconnect.de [80.147.161.169]) by ares.art-core.org (mail.art-core.org) with ESMTPSA id C80352EE013; Tue, 27 Jan 2015 11:37:36 +0100 (CET) Message-ID: <54C76A6F.30502@anderiasch.de> Date: Tue, 27 Jan 2015 11:37:35 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Thunderbird/36.0a2 MIME-Version: 1.0 To: Matteo Beccati , Bob Weinand , PHP Internals References: <54C732F3.8050304@beccati.com> In-Reply-To: <54C732F3.8050304@beccati.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Remove the date.timezone warning From: ml@anderiasch.de (Florian Anderiasch) On 01/27/2015 07:40 AM, Matteo Beccati wrote: > On 27/01/2015 01:34, Bob Weinand wrote: >> Hey, >> >> I'd like to request removal of the date.timezone warning. >> >> Here is the RFC: >> https://wiki.php.net/rfc/date.timezone_warning_removal >> > > The warning is certainly annoying, but making it default to UTC or a > wrong timezone because the right one can't be guessed is a major WTF. I don't see how this would be a *major* WTF. Maybe a minor one as PHP didn't have to have a default one, so maybe an oddity. I'd argue that it's about setting a good example, UTC is the only sane default for server software unless you know what you're doing. We're always arguing about removing options from php.ini and while it isn't about *removal* here I don't see why there can't be a sane default. I just reread the RFC, so I'm -1 on next minor version, but +1 on PHP 7. ~Florian