array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.pcntl-wifstopped.php', 1 => 'pcntl_wifstopped', ), 'up' => array ( 0 => 'ref.pcntl.php', 1 => 'PCNTL 函数', ), 'prev' => array ( 0 => 'function.pcntl-wifsignaled.php', 1 => 'pcntl_wifsignaled', ), 'next' => array ( 0 => 'function.pcntl-wstopsig.php', 1 => 'pcntl_wstopsig', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'zh', 'path' => 'reference/pcntl/functions/pcntl-wifstopped.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_wifstopped — 检查子进程当前是否已经停止
仅查子进程当前是否停止;此函数只有作用于使用了 WUNTRACED
作为
option 的 pcntl_waitpid() 函数调用产生的 status 时才有效。