(PHP 5, PHP 7, PHP 8)
stream_bucket_make_writeable — Returns a bucket object from the brigade to operate on
stream_bucket_make_writeable(resource $brigade): ?StreamBucket
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().
brigadeThe brigade to return a bucket object from.
Returns a bucket object or null.
| Version | Description |
|---|---|
| 8.4.0 | This function returns a StreamBucket instance now; previously, an stdClass was returned. |
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.stream-bucket-make-writeable.php