svn: /phpdoc/en/trunk/reference/exec/ constants.xml functions/escapeshellcmd.xml

From: Date: Fri, 11 Nov 2011 15:06:10 +0000
Subject: svn: /phpdoc/en/trunk/reference/exec/ constants.xml functions/escapeshellcmd.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-9027@lists.php.net to get a copy of this message
hirokawa Fri, 11 Nov 2011 15:06:10 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=319059 Log: revert the document update for escapeshellcmd(). Changed paths: U phpdoc/en/trunk/reference/exec/constants.xml U phpdoc/en/trunk/reference/exec/functions/escapeshellcmd.xml Modified: phpdoc/en/trunk/reference/exec/constants.xml =================================================================== --- phpdoc/en/trunk/reference/exec/constants.xml 2011-11-11 14:58:32 UTC (rev 319058) +++ phpdoc/en/trunk/reference/exec/constants.xml 2011-11-11 15:06:10 UTC (rev 319059) @@ -3,50 +3,7 @@ <appendix xml:id="exec.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.constants; - &extension.constants.core; - <para> flags for <function>escapeshellcmd</function>: - <variablelist> - <varlistentry> - <term> - <constant>ESCAPE_CMD_PAIR</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - When <constant>ESCAPE_CMD_PAIR</constant> (default) is specified, - the quotation is escaped only if it is not paired. - (only valid for non-Win32 environment) - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>ESCAPE_CMD_END</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - When <constant>ESCAPE_CMD_END</constant> is specified, - the quotation is escaped except for the beginning/ending of string. - (only valid for non-Win32 environment) - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term> - <constant>ESCAPE_CMD_ALL</constant> - (<type>integer</type>) - </term> - <listitem> - <simpara> - When <constant>ESCAPE_CMD_ALL</constant> is specified, - the quotation is always escaped. - (only valid for non-Win32 environment) - </simpara> - </listitem> - </varlistentry> - </variablelist> - </para> + &no.constants; </appendix> <!-- Keep this comment at the end of the file Modified: phpdoc/en/trunk/reference/exec/functions/escapeshellcmd.xml =================================================================== --- phpdoc/en/trunk/reference/exec/functions/escapeshellcmd.xml 2011-11-11 14:58:32 UTC (rev 319058) +++ phpdoc/en/trunk/reference/exec/functions/escapeshellcmd.xml 2011-11-11 15:06:10 UTC (rev 319059) @@ -12,7 +12,6 @@ <methodsynopsis> <type>string</type><methodname>escapeshellcmd</methodname> <methodparam><type>string</type><parameter>command</parameter></methodparam> - <methodparam choice="opt"><type>array</type><parameter>flag</parameter></methodparam> </methodsynopsis> <para> <function>escapeshellcmd</function> escapes any characters in a @@ -31,16 +30,6 @@ are escaped only if they are not paired. In Windows, all these characters plus <literal>%</literal> are replaced by a space instead. </para> - <para> - As of PHP 5.5, an optional second argument is introduced for - non-Win32 environment. - When <constant>ESCAPE_CMD_PAIR</constant> (default) is specified, - the quotation is escaped only if it is not paired. - When <constant>ESCAPE_CMD_END</constant> is specified, - the quotation is escaped except for the beginning/ending of string. - When <constant>ESCAPE_CMD_ALL</constant> is specified, - the quotation is always escaped. - </para> </refsect1> <refsect1 role="parameters">

« previous php.doc.cvs (#9027) next »