svn: /phpdoc/ja/trunk/reference/exec/functions/ escapeshellcmd.xml

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Mon, 25 May 2020 23:37:50 +0000

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

Log:
escapeshellcmd() works on Windows for a looong time

Changed paths:
    U   phpdoc/ja/trunk/reference/exec/functions/escapeshellcmd.xml

Modified: phpdoc/ja/trunk/reference/exec/functions/escapeshellcmd.xml
===================================================================
--- phpdoc/ja/trunk/reference/exec/functions/escapeshellcmd.xml	2020-05-25 20:11:03 UTC (rev 349981)
+++ phpdoc/ja/trunk/reference/exec/functions/escapeshellcmd.xml	2020-05-25 23:37:50 UTC (rev 349982)
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 344401 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 349978 Maintainer: takagi Status: ready -->
 <!-- splitted from ./en/functions/exec.xml, last change in rev 1.2 -->
-<!-- CREDITS: hirokawa,shimooka -->
+<!-- CREDITS: hirokawa,shimooka,mumumu -->
 <refentry xml:id="function.escapeshellcmd" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>escapeshellcmd</refname>
@@ -27,8 +27,10 @@
    <literal>&amp;#;`|*?~&lt;&gt;^()[]{}$\</literal>、<literal>\x0A</literal>
    および <literal>\xFF</literal> については、その文字の前にバックスラッシュが
    追加されます。<literal>'</literal> および <literal>"</literal>
-   は、対になっていない場合にのみエスケープされます。Windows では、
-   これらの文字に加えて <literal>%</literal> と <literal>!</literal> がスペースに置き換えられます。
+   は、対になっていない場合にのみエスケープされます。
+   Windows では、
+   これらの文字に加えて <literal>%</literal> と <literal>!</literal> の前にキャレット
+   (<literal>^</literal>) が付加されます。
   </para>
  </refsect1>

@@ -106,6 +108,13 @@
         感嘆符がスペースで置き換えられるようになりました。
        </entry>
       </row>
+      <row>
+       <entry>5.3.0</entry>
+       <entry>
+        Windows で、特別な文字が適切にエスケープされるようになりました。
+        これより前のバージョンでは、そうした文字はスペースで置き換えられていました。
+       </entry>
+      </row>
      </tbody>
     </tgroup>
    </informaltable>
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.