⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 function.pcntl-exec.html

📁 php的帮助文档,涉及到PHP的案例和基本语法,以及实际应用内容
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html> <head>  <title>Executes specified program in current process space</title>  <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.pcntl-alarm.html">pcntl_alarm</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.pcntl-fork.html">pcntl_fork</a></div> <div class="up"><a href="ref.pcntl.html">PCNTL Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div><hr /><div id="function.pcntl-exec" class="refentry"> <div class="refnamediv">  <h1 class="refname">pcntl_exec</h1>  <p class="verinfo">(PHP 4 &gt;= 4.2.0, PHP 5)</p><p class="refpurpose"><span class="refname">pcntl_exec</span> &mdash; <span class="dc-title">Executes specified program in current process space</span></p> </div>  <div class="refsect1 description">  <h3 class="title">Description</h3>  <div class="methodsynopsis dc-description">   <span class="type"><span class="type void">void</span></span> <span class="methodname"><b><b>pcntl_exec</b></b></span>    ( <span class="methodparam"><span class="type">string</span> <tt class="parameter">$path</tt></span>   [, <span class="methodparam"><span class="type">array</span> <tt class="parameter">$args</tt></span>   [, <span class="methodparam"><span class="type">array</span> <tt class="parameter">$envs</tt></span>  ]] )</div>  <p class="para rdfs-comment">   Executes the program with the given arguments.  </p> </div> <div class="refsect1 parameters">  <h3 class="title">Parameters</h3>  <p class="para">   <dl>    <dt>     <span class="term"><i><tt class="parameter">path</tt></i></span>     <dd>      <p class="para">       <i><tt class="parameter">path</tt></i> must be the path to a binary executable or a       script with a valid path pointing to an executable in the shebang (       #!/usr/local/bin/perl for example) as the first line.  See your system&#039;s       man execve(2) page for additional information.      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">args</tt></i></span>     <dd>      <p class="para">       <i><tt class="parameter">args</tt></i> is an array of argument strings passed to the       program.      </p>     </dd>    </dt>    <dt>     <span class="term"><i><tt class="parameter">envs</tt></i></span>     <dd>      <p class="para">       <i><tt class="parameter">envs</tt></i> is an array of strings which are passed as       environment to the program.  The array is in the format of name =&gt; value,       the key being the name of the environmental variable and the value being       the value of that variable.      </p>     </dd>    </dt>   </dl>  </p> </div> <div class="refsect1 returnvalues">  <h3 class="title">Return Values</h3>  <p class="para">   Returns <b><tt>FALSE</tt></b> on error and does not return on success.  </p> </div></div><hr /><div style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.pcntl-alarm.html">pcntl_alarm</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.pcntl-fork.html">pcntl_fork</a></div> <div class="up"><a href="ref.pcntl.html">PCNTL Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div></div></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -