Do you have a question? Post it now! No Registration Necessary. Now with pictures!
September 25, 2008, 3:40 pm
rate this thread
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