EventBuffer::prepend

(PECL event >= 1.2.6-beta)

EventBuffer::prependPrepend data to the front of the buffer

說(shuō)明

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.

返回值

成功時(shí)返回 true, 或者在失敗時(shí)返回 false。

參見(jiàn)