mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
- Whitespace
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@132053 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
dcc970d81f
commit
8b2c010b4f
5 changed files with 23 additions and 19 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- splitted from ./en/functions/exec.xml, last change in rev 1.8 -->
|
||||
<refentry id="function.escapeshellarg">
|
||||
<refnamediv>
|
||||
|
@ -25,15 +25,16 @@
|
|||
<informalexample>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
system("ls ".escapeshellarg($dir));
|
||||
<?php
|
||||
system('ls '.escapeshellarg($dir));
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
</para>
|
||||
<para>
|
||||
See also <function>escshellcmd</function>,
|
||||
<function>exec</function>, <function>popen</function>,
|
||||
<function>system</function>, and the <link
|
||||
See also <function>escshellcmd</function>, <function>exec</function>,
|
||||
<function>popen</function>, <function>system</function>, and the <link
|
||||
linkend="language.operators.execution">backtick operator</link>.
|
||||
</para>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- splitted from ./en/functions/exec.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.escapeshellcmd">
|
||||
<refnamediv>
|
||||
|
@ -25,10 +25,16 @@
|
|||
<informalexample>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$e = escapeshellcmd($userinput);
|
||||
system("echo $e"); // here we don't care if $e has spaces
|
||||
|
||||
// here we don't care if $e has spaces
|
||||
system("echo $e");
|
||||
$f = escapeshellcmd($filename);
|
||||
system("touch \"/tmp/$f\"; ls -l \"/tmp/$f\""); // and here we do, so we use quotes
|
||||
|
||||
// and here we do, so we use quotes
|
||||
system("touch \"/tmp/$f\"; ls -l \"/tmp/$f\"");
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<refentry id='function.proc-get-status'>
|
||||
<refnamediv>
|
||||
<refname>proc_get_status</refname>
|
||||
|
@ -86,6 +86,9 @@
|
|||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
<para>
|
||||
See also <function>proc_open</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- splitted from ./en/functions/exec.xml, last change in rev 1.28 -->
|
||||
<refentry id='function.proc-open'>
|
||||
<refnamediv>
|
||||
|
@ -83,11 +83,6 @@ if (is_resource($process)) {
|
|||
of accessing those handles. Stdin, stdout and stderr work as expected.
|
||||
</para>
|
||||
</note>
|
||||
<note>
|
||||
<para>
|
||||
This function was introduced in PHP 4.3.0.
|
||||
</para>
|
||||
</note>
|
||||
<note>
|
||||
<para>
|
||||
If you only need a uni-directional (one-way) process pipe, use
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.1 $ -->
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<refentry id='function.proc-terminate'>
|
||||
<refnamediv>
|
||||
<refname>proc_terminate</refname>
|
||||
|
@ -18,9 +18,8 @@
|
|||
&warn.undocumented.func;
|
||||
|
||||
<para>
|
||||
See also <function>proc_open</function>,
|
||||
<function>proc_close</function>, and
|
||||
<function>proc_nice</function>.
|
||||
See also <function>proc_open</function>, <function>proc_close</function>,
|
||||
and <function>proc_nice</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
Loading…
Reference in a new issue