array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'es', ), 'this' => array ( 0 => 'function.pcntl-wexitstatus.php', 1 => 'pcntl_wexitstatus', ), 'up' => array ( 0 => 'ref.pcntl.php', 1 => 'Funciones 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' => 'en', '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 — Returns the return code of a terminated child
Returns the return code of a terminated child. This function is
only useful if pcntl_wifexited() returned
true
.
status
El parámetro status
es el parámetro de estado proporcionado a una correcta
llamada a pcntl_waitpid().
Returns the return code.
If the functionality is not supported by the OS, false
is returned.