svn: phpdoc/en/trunk/reference/strings/functions/ setlocale.xml
| From: | Daniel P. Brown | Date: | Thu, 23 Jul 2009 03:56:10 +0000 |
| Subject: | svn: phpdoc/en/trunk/reference/strings/functions/ setlocale.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4496@lists.php.net to get a copy of this message | ||
danbrown Thu, 23 Jul 2009 03:56:10 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=284631
Log:
Addresses Bug #48876, describes optional parameters 3+, and includes some grammatical changes.
Bug: http://bugs.php.net/48876 (Open) Windows setlocale does
use environment var
Changed paths:
U phpdoc/en/trunk/reference/strings/functions/setlocale.xml
Modified: phpdoc/en/trunk/reference/strings/functions/setlocale.xml
===================================================================
--- phpdoc/en/trunk/reference/strings/functions/setlocale.xml 2009-07-23 03:11:37 UTC (rev 284630)
+++ phpdoc/en/trunk/reference/strings/functions/setlocale.xml 2009-07-23 03:56:10 UTC (rev 284631)
@@ -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 @@
<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>