Re: [PHP] Re: Think I found a PHP bug

2011-12-09 Thread Lester Caine
Rasmus Lerdorf wrote: This is fixed in PHP 5.4 by completely dropping support for the TZ environment variable. PHP will always use UTC unless you explicitly set it to something. It won't matter which timezone the system is running in. This is the only reliable way to always have consistent behavi

Re: [PHP] Re: Think I found a PHP bug

2011-12-08 Thread Rasmus Lerdorf
This is fixed in PHP 5.4 by completely dropping support for the TZ environment variable. PHP will always use UTC unless you explicitly set it to something. It won't matter which timezone the system is running in. This is the only reliable way to always have consistent behaviour across all environme

[PHP] Re: Think I found a PHP bug

2011-12-06 Thread Patricia Dewald
In OpenSuSE 12.1 i can reproduce this issue. My workaround is to check the correct timezone. On Tue, 15 Nov 2011 23:34:18 +0100, Geoff Shang wrote: Hi, A couple of weeks ago, I discovered what I'm pretty sure is a PHP bug. In addition, I looked in the PHP changelog and I haven't seen a