Re: [RFC] Remove the date.timezone warning

From: Date: Tue, 27 Jan 2015 11:19:35 +0000
Subject: Re: [RFC] Remove the date.timezone warning
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-81231@lists.php.net to get a copy of this message
On Tue, 27 Jan 2015, Florian Anderiasch wrote: > On 01/27/2015 07:40 AM, Matteo Beccati wrote: > > On 27/01/2015 01:34, Bob Weinand wrote: > >> > >> I'd like to request removal of the date.timezone warning. > >> > >> Here is the RFC: > >> https://wiki.php.net/rfc/date.timezone_warning_removal > >> > >> > >> <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. They only sane default is no default, so that users have to make a choice as what to set it too. That gives the least amount of surprise. > We're always arguing about removing options from php.ini I think the argument is often about *not adding options*. Which is different from removing options. cheers, Derick

« previous php.internals (#81231) next »