array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.swoole-last-error.php', 1 => 'swoole_last_error', 2 => 'Get the lastest error message', ), 'up' => array ( 0 => 'ref.swoole-funcs.php', 1 => 'Swoole 函数', ), 'prev' => array ( 0 => 'function.swoole-get-local-ip.php', 1 => 'swoole_get_local_ip', ), 'next' => array ( 0 => 'function.swoole-load-module.php', 1 => 'swoole_load_module', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/swoole/functions/swoole-last-error.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

swoole_last_error

(PECL swoole >= 1.9.0)

swoole_last_errorGet the lastest error message

说明

swoole_last_error(): int

参数

此函数没有参数。

返回值