php8.5
Home/ Manual/ stream / functions/ stream_bucket_new

stream_bucket_new

PHP function Edit on GitHub ✎

(PHP 5, PHP 7, PHP 8)

Create a new bucket for use on the current stream

Description

stream_bucket_new(resource $stream, string $buffer): StreamBucket

Func

Changelog

VersionDescription
8.4.0Return

Source: reference/stream/functions/stream-bucket-new.xml · from the official PHP manual (php/doc-en)