Yasuo Ohgaki wrote: > Note in the manual page says setlocale() is not required, > so I was supposing it's not needed. > > Anyway, it seems it's been modified recently and I haven't > use gettext for long time. Need some research.
It uses process-global settings to determine the language to use, so it can't be safe to use it in a threaded environment unless all threads use the same language, wich is not necessarily the case with PHP in ZTS mode. -- Hartmut Holzgraefe [EMAIL PROTECTED] http://www.six.de/ +49-711-99091-77 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php