svn: /phpdoc/en/trunk/reference/exec/functions/ escapeshellarg.xml escapeshellcmd.xml
| From: | Christoph Michael Becker | Date: | Tue, 21 Jun 2016 17:00:00 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/exec/functions/ escapeshellarg.xml escapeshellcmd.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-14227@lists.php.net to get a copy of this message | ||
cmb Tue, 21 Jun 2016 17:00:00 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=339439
Log:
Fix Windows related documentation (see #49446)
Bug: https://bugs.php.net/49446 (Assigned) escapeshellarg
dosn`t work on windows
Changed paths:
U phpdoc/en/trunk/reference/exec/functions/escapeshellarg.xml
U phpdoc/en/trunk/reference/exec/functions/escapeshellcmd.xml
Modified: phpdoc/en/trunk/reference/exec/functions/escapeshellarg.xml
===================================================================
--- phpdoc/en/trunk/reference/exec/functions/escapeshellarg.xml 2016-06-21 16:14:05 UTC (rev 339438)
+++ phpdoc/en/trunk/reference/exec/functions/escapeshellarg.xml 2016-06-21 17:00:00 UTC (rev 339439)
@@ -23,9 +23,9 @@
<link linkend="language.operators.execution">backtick operator</link>.
</para>
<para>
- On Windows, <function>escapeshellarg</function> instead removes percent
- signs, replaces double quotes with spaces and adds double quotes around the
- string.
+ On Windows, <function>escapeshellarg</function> instead replaces percent
+ signs, exclamation marks (delayed variable substitution) and double quotes
+ with spaces and adds double quotes around the string.
</para>
</refsect1>
@@ -68,6 +68,31 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &strings.changelog.encoding;
+ <row>
+ <entry>5.4.43, 5.5.27, 5.6.11</entry>
+ <entry>
+ Exclamation marks are replaced by spaces.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
Modified: phpdoc/en/trunk/reference/exec/functions/escapeshellcmd.xml
===================================================================
--- phpdoc/en/trunk/reference/exec/functions/escapeshellcmd.xml 2016-06-21 16:14:05 UTC (rev 339438)
+++ phpdoc/en/trunk/reference/exec/functions/escapeshellcmd.xml 2016-06-21 17:00:00 UTC (rev 339439)
@@ -28,7 +28,7 @@
<literal>#&;`|*?~<>^()[]{}$\</literal>,
<literal>\x0A</literal>
and <literal>\xFF</literal>. <literal>'</literal> and
<literal>"</literal>
are escaped only if they are not paired. In Windows, all these characters
- plus <literal>%</literal> are replaced by a space instead.
+ plus <literal>%</literal> and <literal>!</literal> are replaced by a
space instead.
</para>
</refsect1>
@@ -87,6 +87,31 @@
</warning>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &strings.changelog.encoding;
+ <row>
+ <entry>5.4.43, 5.5.27, 5.6.11</entry>
+ <entry>
+ Exclamation marks are replaced by spaces.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>