On 15/12/11 00:10, Oleg Oshmyan wrote: > PHP internally already has php_localtime_r and php_gmtime_r in > main/php_reentrancy.h, implemented in main/reentrancy.c, and they are > already used in various places in the code, including the guessing > algorithm that is being removed in PHP 5.4. So at the very least > thread-safety (and in fact portability too) should not become worse than > it is now. Oh, nice. I thought thet would be doing its own argument passing, based on timelib, but turns out they do retrive the value from the system {local,gm}time, even on those without a _r version.
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php