array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.pcntl-wexitstatus.php', 1 => 'pcntl_wexitstatus', ), 'up' => array ( 0 => 'ref.pcntl.php', 1 => 'PCNTL 函数', ), 'prev' => array ( 0 => 'function.pcntl-waitpid.php', 1 => 'pcntl_waitpid', ), 'next' => array ( 0 => 'function.pcntl-wifexited.php', 1 => 'pcntl_wifexited', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'zh', 'path' => 'reference/pcntl/functions/pcntl-wexitstatus.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8)
pcntl_wexitstatus — 返回一个中断的子进程的返回代码
返回一个中断的子进程的返回代码。这个函数仅在函数 pcntl_wifexited() 返回
true
时有效。
返回子进程返回代码。如果操作系统不支持该功能,将返回 false
。