diff --git a/reference/strings/functions/setlocale.xml b/reference/strings/functions/setlocale.xml index 0dce5e4536..a7c3c9532a 100644 --- a/reference/strings/functions/setlocale.xml +++ b/reference/strings/functions/setlocale.xml @@ -105,10 +105,16 @@ ... + (Optional string or array parameters to try as locale settings until + success.) + + On Windows, setlocale(LC_ALL, '') sets the locale names from the + system's regional/language settings (accessible via Control Panel). + @@ -223,12 +229,12 @@ echo "Preferred locale for german on this system is '$loc_de'"; 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. + are running PHP on a multithreaded server API like IIS or Apache on + Windows, you may experience sudden changes in locale settings while a + script is running, though the script itself never called + setlocale. This happens due to other scripts + running in different threads of the same process at the same time, + changing the process-wide locale using setlocale.