php8.5
Home/ Manual/ swoole / buffer/ Swoole\Buffer::append

Swoole\Buffer::append

PHP function Edit on GitHub ✎

(PECL swoole >= 1.9.0)

Append the string or binary data at the end of the memory buffer and return the new size of memory allocated.

Description

Swoole\Buffer::append(string $data): int

Parameters

data

The string or binary data to append at the end of the memory buffer.

Return Values

The new size of the memory buffer.

Source: reference/swoole/swoole/buffer/append.xml · from the official PHP manual (php/doc-en)