array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'swoole-server.getlasterror.php', 1 => 'Swoole\\Server::getLastError', 2 => 'Get the error code of the most recent error.', ), 'up' => array ( 0 => 'class.swoole-server.php', 1 => 'Swoole\\Server', ), 'prev' => array ( 0 => 'swoole-server.getclientlist.php', 1 => 'Swoole\\Server::getClientList', ), 'next' => array ( 0 => 'swoole-server.heartbeat.php', 1 => 'Swoole\\Server::heartbeat', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/swoole/swoole/server/getlasterror.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Swoole\Server::getLastError

(PECL swoole >= 1.9.0)

Swoole\Server::getLastErrorGet the error code of the most recent error.

Опис

public Swoole\Server::getLastError(): int

Параметри

У цієї функції немає параметрів.

Значення, що повертаються