array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'pt_BR', ), 'this' => array ( 0 => 'swoole-buffer.clear.php', 1 => 'Swoole\\Buffer::clear', ), 'up' => array ( 0 => 'class.swoole-buffer.php', 1 => 'Swoole\\Buffer', ), 'prev' => array ( 0 => 'swoole-buffer.append.php', 1 => 'Swoole\\Buffer::append', ), 'next' => array ( 0 => 'swoole-buffer.construct.php', 1 => 'Swoole\\Buffer::__construct', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/swoole/swoole/buffer/clear.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL swoole >= 1.9.0)
Swoole\Buffer::clear — Reset the memory buffer.
Esta função não possui parâmetros.