Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81196 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93998 invoked from network); 27 Jan 2015 03:57:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jan 2015 03:57:04 -0000 Authentication-Results: pb1.pair.com header.from=kalle.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=kalle.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.43 as permitted sender) X-PHP-List-Original-Sender: kalle.php@gmail.com X-Host-Fingerprint: 209.85.215.43 mail-la0-f43.google.com Received: from [209.85.215.43] ([209.85.215.43:43790] helo=mail-la0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 77/E1-17708-E8C07C45 for ; Mon, 26 Jan 2015 22:57:02 -0500 Received: by mail-la0-f43.google.com with SMTP id q1so11215599lam.2 for ; Mon, 26 Jan 2015 19:56:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=epGdZjOq4YypmGiKXlTOCegeWZhoYBr52FywIFPUufo=; b=F87Z0iZivU0SZWekJAlto2E6q5OJVnHe+gSGaBEEnKjA28OcMwBSCx6D3v+tpk1OjW rmahPoVpm9vpLBVLCGYUvDcpBYHevyj+A/H0wijju0ZPZGbOapSYdixdvUUHx8T6SbG4 nEU/ty0xMWays6AXHjJbcYVkvZqiRDx0agsC0UA+cWduxXftBcvTi+qyprdFCdL9gA7X PS/fGQrnJdqwPqGm3Xunh+efM9H9SP6EktsiwsPkaKxH+GS2flw5ATaAlp086M+42UAG 2sqMSIgDykyjtB1L0o4mO0v7ysJHeME7bX1pXGlrHkWaBfz5b8X/iOUATysbk/P37qQB DXnA== MIME-Version: 1.0 X-Received: by 10.152.43.49 with SMTP id t17mr1736332lal.52.1422331018916; Mon, 26 Jan 2015 19:56:58 -0800 (PST) Sender: kalle.php@gmail.com Received: by 10.112.138.161 with HTTP; Mon, 26 Jan 2015 19:56:58 -0800 (PST) In-Reply-To: References: Date: Tue, 27 Jan 2015 04:56:58 +0100 X-Google-Sender-Auth: 4jrllWNPfPE--OR5sEwji_XAjs0 Message-ID: To: Bob Weinand Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] Remove the date.timezone warning From: kalle@php.net (Kalle Sommer Nielsen) Hi 2015-01-27 1:34 GMT+01:00 Bob Weinand : > 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 > > Bob I think the warning is fair as it is, if it is annoying for small use cases like on the CLI then simply: php -d date.timezone=UTC -r "echo date('H:i:s');" or the dirty way by using the silent operator. It used to be a notice prior 5.3 I think or something. While I do agree that most applications should be using UTC, which should be set by default we sometimes need to tell userland the hard way how things work, and/or what they should care about, like the E_WARNING, E_CORE_ERROR, E_DEPRECATED for old php.ini settings. -1 for removing it from my side. -- regards, Kalle Sommer Nielsen kalle@php.net