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

stream_bucket_make_writeable

PHP function Edit on GitHub ✎

(PHP 5, PHP 7, PHP 8)

Returns a bucket object from the brigade to operate on

Description

stream_bucket_make_writeable(resource $brigade): StreamBucket|null

This function is called whenever there is the need to access and operate on the content contains in a brigade. It is typically called from php_user_filter::filter.

Parameters

brigade

The brigade to return a bucket object from.

Return Values

Returns a bucket object or null.

Changelog

VersionDescription
8.4.0Return

See Also

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