vrana Wed Nov 9 08:03:25 2005 EDT
Modified files:
/phpdoc/en/reference/exec/functions escapeshellcmd.xml
Log:
List of escaped characters
http://cvs.php.net/diff.php/phpdoc/en/reference/exec/functions/escapeshellcmd.xml?r1=1.7&r2=1.8&ty=u
Index: phpdoc/en/reference/exec/functions/escapeshellcmd.xml
diff -u phpdoc/en/reference/exec/functions/escapeshellcmd.xml:1.7
phpdoc/en/reference/exec/functions/escapeshellcmd.xml:1.8
--- phpdoc/en/reference/exec/functions/escapeshellcmd.xml:1.7 Fri Apr 8
19:18:40 2005
+++ phpdoc/en/reference/exec/functions/escapeshellcmd.xml Wed Nov 9
08:03:23 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/exec.xml, last change in rev 1.2 -->
<refentry id="function.escapeshellcmd">
<refnamediv>
@@ -23,6 +23,13 @@
linkend="language.operators.execution">backtick
operator</link>.
</para>
+ <para>
+ Following characters are preceded by a backslash:
+ <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.
+ </para>
</refsect1>
<refsect1 role="parameters">