Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Swoole\Buffer::readSwoole\Buffer::substr>
^Swoole\BufferLast updated: Mon, 26 Oct 2026

Swoole\Buffer::recycle

(PECL swoole >= 1.9.0)

Swoole\Buffer::recycle — Release the memory to OS which is not used by the memory buffer.

Description

public function Swoole\Buffer::recycle(): void

Parameters

This function has no parameters.


<Swoole\Buffer::readSwoole\Buffer::substr>
^Swoole\BufferLast updated: Mon, 26 Oct 2026