stream_bucket_prepend

PHP 5, PHP 7, PHP 8
stream_bucket_prepend - Prepend bucket to brigade
Manual
Code Examples

stream_bucket_prepend( resource$brigade, object$bucket ): void

This function can be called to prepend a bucket to a bucket brigade. It is typically called from php_user_filter::filter.

Parameters

brigade

brigade is a resource pointing to a bucket brigade which contains one or more bucket objects.

bucket

A bucket object.

Return Values

No value is returned.

Example of stream_bucket_prepend

Show all examples for stream_bucket_prepend

PHP Version:


Function stream_bucket_prepend:

Streams Functions

Most used PHP functions