Hi! On 9/5/11 6:57 AM, 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
I'm not sure I understand how putenv() being non-thread-safe leads to tests failing - tests aren't threaded and AFAIK TS API doesn't do anything special there. Can you explain?
method is already deprecated and it is recommended to rely on the other methods.
Unfortunately, some functions - like strftime - still are TZ-dependant on some systems (like Darwin), so ignoring TZ altogether is not achievable. And once we have people use TZ, why not have it work for all?
-- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php