Addresses Bug #48876, describes optional parameters 3+, and includes some grammatical changes.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@284631 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Daniel P. Brown 2009-07-23 03:56:10 +00:00
parent a2902a912f
commit 7fe7a860b8

View file

@ -105,10 +105,16 @@
<term><parameter>...</parameter></term>
<listitem>
<para>
(Optional string or array parameters to try as locale settings until
success.)
</para>
</listitem>
</varlistentry>
</variablelist>
<note>
On Windows, setlocale(LC_ALL, '') sets the locale names from the
system's regional/language settings (accessible via Control Panel).
</note>
</para>
</refsect1>
@ -223,12 +229,12 @@ echo "Preferred locale for german on this system is '$loc_de'";
<warning>
<para>
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
<function>setlocale</function> itself. This happens due to other scripts
running in different threads of the same process at the same time
changing the processwide locale using <function>setlocale</function>.
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
<function>setlocale</function>. This happens due to other scripts
running in different threads of the same process at the same time,
changing the process-wide locale using <function>setlocale</function>.
</para>
</warning>
<tip>