pcntl_get_last_error

(PHP 5 >= 5.3.4, PHP 7)

pcntl_get_last_errorRetrieve the error number set by the last pcntl function which failed

说锟斤拷

pcntl_get_last_error ( void ) : int

Warning

锟斤拷锟斤拷锟斤拷锟斤拷未锟斤拷写锟侥碉拷锟斤拷锟斤拷锟叫诧拷锟斤拷锟叫憋拷

锟斤拷锟斤拷

锟剿猴拷锟斤拷没锟叫诧拷锟斤拷锟斤拷

锟斤拷锟斤拷值

Returns error code.

锟轿硷拷

  • pcntl_strerror() - Retrieve the system error message associated with the given errno