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