From 29ee5173fb65ca00b797bc11023ca923a134d1d1 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Tue, 21 Jun 2016 17:00:00 +0000 Subject: [PATCH] Fix Windows related documentation (see #49446) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339439 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/exec/functions/escapeshellarg.xml | 31 +++++++++++++++++++-- reference/exec/functions/escapeshellcmd.xml | 27 +++++++++++++++++- 2 files changed, 54 insertions(+), 4 deletions(-) diff --git a/reference/exec/functions/escapeshellarg.xml b/reference/exec/functions/escapeshellarg.xml index 43ec00bc88..31ce2060b4 100644 --- a/reference/exec/functions/escapeshellarg.xml +++ b/reference/exec/functions/escapeshellarg.xml @@ -23,9 +23,9 @@ backtick operator. - On Windows, escapeshellarg instead removes percent - signs, replaces double quotes with spaces and adds double quotes around the - string. + On Windows, escapeshellarg instead replaces percent + signs, exclamation marks (delayed variable substitution) and double quotes + with spaces and adds double quotes around the string. @@ -68,6 +68,31 @@ system('ls '.escapeshellarg($dir)); + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + &strings.changelog.encoding; + + 5.4.43, 5.5.27, 5.6.11 + + Exclamation marks are replaced by spaces. + + + + + + + + &reftitle.seealso; diff --git a/reference/exec/functions/escapeshellcmd.xml b/reference/exec/functions/escapeshellcmd.xml index f63f97ca27..6d00ab7f81 100644 --- a/reference/exec/functions/escapeshellcmd.xml +++ b/reference/exec/functions/escapeshellcmd.xml @@ -28,7 +28,7 @@ #&;`|*?~<>^()[]{}$\, \x0A and \xFF. ' and " are escaped only if they are not paired. In Windows, all these characters - plus % are replaced by a space instead. + plus % and ! are replaced by a space instead. @@ -87,6 +87,31 @@ system($escaped_command); + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + &strings.changelog.encoding; + + 5.4.43, 5.5.27, 5.6.11 + + Exclamation marks are replaced by spaces. + + + + + + + + &reftitle.seealso;