Re: [RFC] Remove the date.timezone warning

From: Date: Tue, 27 Jan 2015 10:37:35 +0000
Subject: Re: [RFC] Remove the date.timezone warning
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-81221@lists.php.net to get a copy of this message
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 >> >> <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

« previous php.internals (#81221) next »