array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'function.pcntl-wexitstatus.php', 1 => 'pcntl_wexitstatus', ), 'up' => array ( 0 => 'ref.pcntl.php', 1 => 'PCNTL Funktionen', ), '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' => 'de', '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 — Lefert den Statuscode eines beendeten Kindes
Gibt den Statuscode eines beendeten Kindes zurück. Diese Funktion ist nur
nützlich, wenn pcntl_wifexited() true
zurückgab.
status
Der status
-Parameter
entspricht dem Statusparameter, der für einen erfolgreichen Aufruf
von pcntl_waitpid() verwendet wird.
Gibt den Exit-Code als Ganzzahl zurück. Falls die Funktionalität vom
Betriebssystem nicht unterstützt wird, wird false
zurückgegeben.