From 93c8f3c1305ca9d17a6e9f68d9e0438dec5dc165 Mon Sep 17 00:00:00 2001 From: Rui Hirokawa Date: Sun, 30 Oct 2011 08:27:49 +0000 Subject: [PATCH] added 2nd argument for escapeshellcmd(). git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318573 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/exec/constants.xml | 45 ++++++++++++++++++++- reference/exec/functions/escapeshellcmd.xml | 11 +++++ reference/mbstring/ja-basic.xml | 9 +++++ reference/mbstring/supported-encodings.xml | 19 +++++++++ 4 files changed, 83 insertions(+), 1 deletion(-) diff --git a/reference/exec/constants.xml b/reference/exec/constants.xml index f710ef1840..fac6054cfb 100644 --- a/reference/exec/constants.xml +++ b/reference/exec/constants.xml @@ -3,7 +3,50 @@ &reftitle.constants; - &no.constants; + &extension.constants.core; + flags for escapeshellcmd: + + + + ESCAPE_CMD_PAIR + (integer) + + + + When ESCAPE_CMD_PAIR (default) is specified, + the quotation is escaped only if it is not paired. + (only valid for non-Win32 environment) + + + + + + ESCAPE_CMD_END + (integer) + + + + When ESCAPE_CMD_END is specified, + the quotation is escaped except for the beginning/ending of string. + (only valid for non-Win32 environment) + + + + + + ESCAPE_CMD_ALL + (integer) + + + + When ESCAPE_CMD_ALL is specified, + the quotation is always escaped. + (only valid for non-Win32 environment) + + + + +