Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81234 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70560 invoked from network); 27 Jan 2015 11:50:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jan 2015 11:50:06 -0000 Authentication-Results: pb1.pair.com header.from=php@beccati.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=php@beccati.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain beccati.com designates 176.9.114.167 as permitted sender) X-PHP-List-Original-Sender: php@beccati.com X-Host-Fingerprint: 176.9.114.167 spritz.beccati.com Received: from [176.9.114.167] ([176.9.114.167:58493] helo=mail.beccati.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5E/32-59067-C6B77C45 for ; Tue, 27 Jan 2015 06:50:06 -0500 Received: (qmail 7105 invoked from network); 27 Jan 2015 11:50:00 -0000 Received: from home.beccati.com (HELO ?192.168.1.202?) (88.149.176.119) by mail.beccati.com with SMTP; 27 Jan 2015 11:50:00 -0000 Message-ID: <54C77B5C.5010000@beccati.com> Date: Tue, 27 Jan 2015 12:49:48 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Nikita Popov , Derick Rethans CC: Bob Weinand , PHP Internals References: <54C732F3.8050304@beccati.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Remove the date.timezone warning From: php@beccati.com (Matteo Beccati) On 27/01/2015 12:28, Nikita Popov wrote: > So let the distros solve it ... and allow PHP to still be usable without an > ini file. So, I install php from sources and (simulating the RFC): # php -d date.timezone='' -r 'var_dump(@date("Y-m-d H:i:s"));' string(19) "2015-01-27 11:39:43" # date Tue Jan 27 12:39:45 CET 2015 how many people would think "WTF"? how many "oh right, PHP defaults to UTC unless I change my php.ini"? how many "my mistake! of course my laptop should use UTC!"? Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/