Create a new bucket for use on the current stream

- « stream_bucket_make_writeable

- stream_bucket_prepend »

- PHP Manual
- Stream Functions
- Create a new bucket for use on the current stream

# stream_bucket_new

(PHP 5, PHP 7, PHP 8)

stream_bucket_new — Create a new bucket for use on the current stream

### Description

stream_bucket_new(resource `$stream`, string `$buffer`): object
Warning

This function is currently not documented; only its argument list is available.