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::substrSwoole\Buffer::write>
^Swoole\BufferLast updated: Mon, 26 Oct 2026

Swoole\Buffer::__toString

(PECL swoole >= 1.9.0)

Swoole\Buffer::__toString — Get the string value of the memory buffer.

Description

public function Swoole\Buffer::__toString(): string

Parameters

This function has no parameters.

Return Values

The string value of the memory buffer.


<Swoole\Buffer::substrSwoole\Buffer::write>
^Swoole\BufferLast updated: Mon, 26 Oct 2026