Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions reference/exec/functions/escapeshellarg.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@
Furthermore, each streak of consecutive backslashes (<literal>\</literal>)
is escaped by one additional backslash.
</para>
<para>
The behavior of this function with multibyte strings depends on the current
<constant>LC_CTYPE</constant> locale setting. Unrecognized characters will be
discarded. See <function>setlocale</function>
</para>
</refsect1>

<refsect1 role="parameters">
Expand Down Expand Up @@ -74,6 +79,7 @@ system('ls '.escapeshellarg($dir));
&reftitle.seealso;
<para>
<simplelist>
<member><function>setlocale</function></member>
<member><function>escapeshellcmd</function></member>
<member><function>exec</function></member>
<member><function>popen</function></member>
Expand Down
6 changes: 6 additions & 0 deletions reference/exec/functions/escapeshellcmd.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
plus <literal>%</literal> and <literal>!</literal> are preceded by a caret
(<literal>^</literal>).
</para>
<para>
The behavior of this function with multibyte strings depends on the current
<constant>LC_CTYPE</constant> locale setting. Unrecognized characters will be
discarded. See <function>setlocale</function>
</para>
</refsect1>

<refsect1 role="parameters">
Expand Down Expand Up @@ -107,6 +112,7 @@ $cmd = preg_replace('`(?<!^) `', '^ ', escapeshellcmd($cmd));
&reftitle.seealso;
<para>
<simplelist>
<member><function>setlocale</function></member>
<member><function>escapeshellarg</function></member>
<member><function>exec</function></member>
<member><function>popen</function></member>
Expand Down