On Fri, May 24, 2013 at 2:40 AM, Derick Rethans <der...@php.net> wrote:
> On Thu, 23 May 2013, Daniel Lowrey wrote: > > > I guess my point is that I don't believe default settings should > > trigger errors. If it's a default setting, it's a default setting. > > No - you, as an admin, are required to make an informed decision on what > you want your timezone to be. There have been way too many bug reports > where people had no clue, so now we throw a warning. > Sorry, but I fail to see why date.timezone needs special handling. What makes the date.timezone setting so important, that it is the only one which value you are required to set? There are settings that are arguably a lot more important than this, but which do not throw such warnings. E.g., why isn't there a warning for cases where error_reporting is not explicitly specified? I can't count the number of StackOverflow questions caused by bad error_reporting settings and I'm very sure this number surpasses complains about timezones by several orders of magnitude. Yet - of course! - we do no such thing, for it is senseless. After all, there *is* a reason why we have defaults for ini settings. People should only be required to changed them when necessary. Date.timezone should be no exception to this. Nikita