← All docs

stream_bucket_prepend()

Prepends a bucket to the brigade.

stream_bucket_prepend()

function stream_bucket_prepend(mixed $brigade, mixed $bucket): void

Prepends a bucket to the brigade.

Parameters:

  • $brigade (mixed)
  • $bucket (mixed)

Returns: void

Availability

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how stream_bucket_prepend is implemented in the compiler, see the internals page.