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;