EventBuffer::prepend

(PECL event >= 1.2.6-beta)

EventBuffer::prependPrepend data to the front of the buffer

說明

public EventBuffer::prepend( string $data ): bool

Prepend data to the front of the buffer.

參數(shù)

data

String to be prepended to the front of the buffer.

返回值

成功時返回 true, 或者在失敗時返回 false。

參見