php8.5
Home/ Manual/ event / eventbuffer/ EventBuffer::prepend

EventBuffer::prepend

PHP function Edit on GitHub ✎

(PECL event >= 1.2.6-beta)

Prepend data to the front of the buffer

Description

EventBuffer::prepend(string $data): bool

Prepend data to the front of the buffer.

Parameters

data

String to be prepended to the front of the buffer.

Return Values

Success

See Also

  • EventBuffer::prependBuffer
  • EventBuffer::add
  • EventBuffer::addBuffer

Source: reference/event/eventbuffer/prepend.xml · from the official PHP manual (php/doc-en)