By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,278 Members | 1,359 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,278 IT Pros & Developers. It's quick & easy.

setlocale safety

P: n/a
from manual:

Warning: The locale information is maintained per process, not per
thread. If you are running PHP on a multithreaded server api like IIS
or Apache on Windows you may experience sudden changes of locale
settings while a script is running although the script itself never
called setlocale() itself. This happens due to other scripts running
in different threads of the same process at the same time changing the
processwide locale using setlocale().

Am I to assume that using setlocale is safe on *nix/apache/mod_php
systems?

Thanks
Jeff
Sep 25 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.