svn: /phpdoc/ja/trunk/reference/strings/functions/ setlocale.xml

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Tue, 14 Jul 2020 18:59:30 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=350154

Log:
Locales are maintained per thread on Windows for quite some time

Changed paths:
    U   phpdoc/ja/trunk/reference/strings/functions/setlocale.xml

Modified: phpdoc/ja/trunk/reference/strings/functions/setlocale.xml
===================================================================
--- phpdoc/ja/trunk/reference/strings/functions/setlocale.xml	2020-07-14 09:14:40 UTC (rev 350153)
+++ phpdoc/ja/trunk/reference/strings/functions/setlocale.xml	2020-07-14 18:59:30 UTC (rev 350154)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 348286 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 350153 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: shimooka,mumumu -->
 <refentry xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook" xml:id="function.setlocale">
  <refnamediv>
@@ -27,8 +27,7 @@
   <warning>
    <para>
     ロケール情報は、スレッド毎ではなくプロセス毎に維持されます。
-    もし PHP を IIS、HHVM または Windows 用 Apache のようなマルチスレッドサーバ
-    API 上で動作させている場合、
+    もし PHP を マルチスレッドサーバAPI 上で動作させている場合、
     スクリプトを実行している間にロケールの設定が突然変わるのを
     経験するかも知れませんが、スクリプト自身は決して
     <function>setlocale</function> 自身をコールしていません。
@@ -35,6 +34,8 @@
     これは同時に同一プロセスの異なるスレッドで実行されている他のスクリプトが
     <function>setlocale</function>
     を使用してプロセスワイドなロケールを変更する事により発生します。
+    Windows では、PHP 5.6.20 および 7.0.5 以降、
+    ロケール情報はスレッド単位で維持されるようになっています。
    </para>
   </warning>
  </refsect1>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.