PHP 8.1.0 RC 2 available for testing


(PECL swoole >= 1.9.0)

Swoole\Buffer::appendAppend the string or binary data at the end of the memory buffer and return the new size of memory allocated.


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



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

Return Values

The new size of the memory buffer.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top