hi, For your information, TZ via environment has been removed from 5.4+. It is not used anymore by the ext/date/lib/ functions, while strftime and similar system's functions may need it. But the php's date alternative should be used instead.
Cheers, On Mon, Sep 5, 2011 at 3:57 PM, Pierre Joye <pierre....@gmail.com> wrote: > hi, > > ext/date still supports the TZ environment variable in 5.3+ despite > the better alternative available via either php.ini (per directory > too) or http://www.php.net/date_default_timezone_set. > > The main problem is that putenv and getenv are not thread safe and > many tests will fail either when using TS SAPIs or on Windows. This > method is already deprecated and it is recommended to rely on the > other methods. > > Objections/comments? > > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org > -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php