array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'function.pcntl-get-last-error.php', 1 => 'pcntl_get_last_error', ), 'up' => array ( 0 => 'ref.pcntl.php', 1 => 'PCNTL Functions', ), 'prev' => array ( 0 => 'function.pcntl-fork.php', 1 => 'pcntl_fork', ), 'next' => array ( 0 => 'function.pcntl-getpriority.php', 1 => 'pcntl_getpriority', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/pcntl/functions/pcntl-get-last-error.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5 >= 5.3.4, PHP 7, PHP 8)
pcntl_get_last_error — Retrieve the error number set by the last pcntl function which failed
This function is currently not documented; only its argument list is available.
This function has no parameters.
Returns error code.