> Am 27.01.2015 um 12:49 schrieb Matteo Beccati <p...@beccati.com>:
> 
> On 27/01/2015 12:28, Nikita Popov wrote:
>> So let the distros solve it ... and allow PHP to still be usable without an
>> ini file.
> 
> So, I install php from sources and (simulating the RFC):
> 
> # php -d date.timezone='' -r 'var_dump(@date("Y-m-d H:i:s"));'
> string(19) "2015-01-27 11:39:43"
> # date
> Tue Jan 27 12:39:45 CET 2015
> 
> how many people would think "WTF"?
> 
> how many "oh right, PHP defaults to UTC unless I change my php.ini"?
> 
> how many "my mistake! of course my laptop should use UTC!"?
> 
> 
> Cheers
> -- 
> Matteo Beccati
> 
> Development & Consulting - http://www.beccati.com/

If you use the distros default, it often is UTC too. Then we have this same 
issue, just without warning. This warning often doesn't help at all, because it 
just doesn't appear at all.

If you use no ini, you probably are much more aware of that already...

Bob
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to