EventUtil::getLastSocketError

(PECL event >= 1.2.6-beta)

EventUtil::getLastSocketErrorReturns the most recent socket error

说明

public static EventUtil::getLastSocketError ([ mixed $socket ] ) : string

Returns the most recent socket error.

参数

socket

Socket resource, stream or a file descriptor of a socket.

返回值

Returns the most recent socket error.

参见

相关文章
php eventbufferevent returns most recent openssl error reported on the buffer eventphp eventutil returns the most recent socket error numberphp eventutil returns the most recent socket errorphp cubrid 函数 get error code for the most recent function callphp cubrid 函数 get last error message for the most recent function callphp maxdb 函数 returns the error code for the most recent function callphp maxdb 函数 returns the number of columns for the most recent queryphp maxdb 函数 returns the error code for the most recent statement callphp socket 函数 returns the last error on the socketphp sqlite 函数 returns the number of rows that were changed by the most recent sql statementphp mongodb check if there was an error on the most recent db operation performedphp mysqli stmt returns the error code for the most recent statement callphp mysqli returns the number of columns for the most recent queryphp mysqlnduhconnection returns the error code for the most recent function callphp mysqlnduhconnection returns the number of columns for the most recent queryphp sqlite3 returns the number of database rows that were changed or inserted or deleted by the most recent sql statementphp sqlite3 returns the numeric result code of the most recent failed sqlite requestphp sqlite3 returns english text describing the most recent failed sqlite requestphp sqlite3 returns the row id of the most recent insert into the databasephp swoole server get the error code of the most recent error.
关注编程学问公众号