array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.swoole-clear-error.php', 1 => 'swoole_clear_error', 2 => 'Clear errors in the socket or on the last error code', ), 'up' => array ( 0 => 'ref.swoole-funcs.php', 1 => 'Swoole 函数', ), 'prev' => array ( 0 => 'function.swoole-async-writefile.php', 1 => 'swoole_async_writefile', ), 'next' => array ( 0 => 'function.swoole-client-select.php', 1 => 'swoole_client_select', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/swoole/functions/swoole-clear-error.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

swoole_clear_error

(PECL swoole >= 4.6.0)

swoole_clear_errorClear errors in the socket or on the last error code

说明

swoole_clear_error(): void

Clear errors in the socket or on the last error code.

参数

此函数没有参数。

返回值

没有返回值。