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/

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

Reply via email to