mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fix Windows related documentation (see #49446)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339439 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
3e78b76ce4
commit
29ee5173fb
2 changed files with 54 additions and 4 deletions
|
@ -23,9 +23,9 @@
|
|||
<link linkend="language.operators.execution">backtick operator</link>.
|
||||
</para>
|
||||
<para>
|
||||
On Windows, <function>escapeshellarg</function> instead removes percent
|
||||
signs, replaces double quotes with spaces and adds double quotes around the
|
||||
string.
|
||||
On Windows, <function>escapeshellarg</function> instead replaces percent
|
||||
signs, exclamation marks (delayed variable substitution) and double quotes
|
||||
with spaces and adds double quotes around the string.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
@ -68,6 +68,31 @@ system('ls '.escapeshellarg($dir));
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
&strings.changelog.encoding;
|
||||
<row>
|
||||
<entry>5.4.43, 5.5.27, 5.6.11</entry>
|
||||
<entry>
|
||||
Exclamation marks are replaced by spaces.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
<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.
|
||||
plus <literal>%</literal> and <literal>!</literal> are replaced by a space instead.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
@ -87,6 +87,31 @@ system($escaped_command);
|
|||
</warning>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
&strings.changelog.encoding;
|
||||
<row>
|
||||
<entry>5.4.43, 5.5.27, 5.6.11</entry>
|
||||
<entry>
|
||||
Exclamation marks are replaced by spaces.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue