Re: date.timezone E_WARNING -- Really necessary? What's the rationale?

From: Date: Thu, 23 May 2013 20:10:28 +0000
Subject: Re: date.timezone E_WARNING -- Really necessary? What's the rationale?
References: 1  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi!

> I'm probably not the typical PHP user; I spend 99% of my PHP time
> using the CLI (and not web SAPIs).
> This means that I frequently run PHP without an .ini file. As a

I'm not sure how this follows - CLI is capable of using ini file just
like the rest of SAPIs. Why not create it?

> The "U" in UTC *does* stand for "Universal," after all. It's a
> sensible default and as such shouldn't

I don't think it's a sensible default - people don't actually use UTC
when considering dates. A minority of people can use timezone that
coincides with UTC, but not very many use actual UTC.
-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227


Thread (70 messages)

« previous php.internals (#67460) next »