Re: drop TZ environment variable support in 5.4+?
| From: | Derick Rethans | Date: | Mon, 05 Sep 2011 14:05:20 +0000 |
| Subject: | Re: drop TZ environment variable support in 5.4+? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-55225@lists.php.net to get a copy of this message | ||
On Mon, 5 Sep 2011, Pierre Joye wrote:
> 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?
I'm against removing this in PHP 5.4.
Tests run all in different processes so the environment variable can't
leak between them.
Derick
--
http://derickrethans.nl | http://xdebug.org
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
twitter: @derickr and @xdebug