Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81245 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1532 invoked from network); 27 Jan 2015 15:39:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jan 2015 15:39:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=bobwei9@hotmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=bobwei9@hotmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain hotmail.com designates 65.55.111.111 as permitted sender) X-PHP-List-Original-Sender: bobwei9@hotmail.com X-Host-Fingerprint: 65.55.111.111 blu004-omc2s36.hotmail.com Received: from [65.55.111.111] ([65.55.111.111:54788] helo=BLU004-OMC2S36.hotmail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 04/67-59067-831B7C45 for ; Tue, 27 Jan 2015 10:39:36 -0500 Received: from BLU436-SMTP40 ([65.55.111.73]) by BLU004-OMC2S36.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Tue, 27 Jan 2015 07:39:33 -0800 X-TMN: [P7ocs3s+Bas/wIkky2x9zlc+POEJYvB3] X-Originating-Email: [bobwei9@hotmail.com] Message-ID: Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) In-Reply-To: <54C7AE69.3090400@beccati.com> Date: Tue, 27 Jan 2015 16:39:27 +0100 CC: Nikita Popov , Derick Rethans , PHP Internals Content-Transfer-Encoding: quoted-printable References: <54C732F3.8050304@beccati.com> <54C77B5C.5010000@beccati.com> <54C7AE69.3090400@beccati.com> To: Matteo Beccati X-Mailer: Apple Mail (2.1993) X-OriginalArrivalTime: 27 Jan 2015 15:39:30.0930 (UTC) FILETIME=[71284D20:01D03A47] Subject: Re: [PHP-DEV] [RFC] Remove the date.timezone warning From: bobwei9@hotmail.com (Bob Weinand) > Am 27.01.2015 um 16:27 schrieb Matteo Beccati : >=20 > On 27/01/2015 15:12, Bob Weinand wrote: >> If you use the distros default, it often is UTC too. Then we have >> this same issue, just without warning. This warning often doesn't >> help at all, because it just doesn't appear at all. >=20 > Well, if the distro sets display_errors =3D Off but doesn't also set a = proper timezone, I would dare to say it's a bug in their packages. >=20 > Vanilla PHP doesn't do that; it does if you blindly use = php.ini-production, but then it's your own fault if you don't set it. >=20 > Actually, the example ini files could even start with a friendly = reminder that date.timezone should be set. Not arguing here. I'm on your side here, we can give the timezone a = better visibility in the ini without problems. The point is just to have date() (with UTC obviously) usable without = getting warned in a simple ./sapi/cli/php -r '/* something with date() = */' call. And no, I don't want to always forget to explicitly set = "-ddate.timezone=3DUTC". It's not comfortable that way. Bob=