PHP 8.5.8 Released!

stream_bucket_make_writeable

(PHP 5, PHP 7, PHP 8)

stream_bucket_make_writeable Returns a bucket object from the brigade to operate on

说明

function 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() .

参数

brigade

The brigade to return a bucket object from.

返回值

Returns a bucket object or null .

更新日志

版本 说明
8.4.0 此函数现在返回 StreamBucket 实例;之前返回 stdClass

参见

发现了问题?

了解如何改进此页面提交拉取请求报告一个错误
+添加备注

用户贡献的备注 1 note

up
0
Anonymous
3 years ago
the object $bucket which is returned also includes a third parameter, $bucket->bucket, which is a reference to the resource
+添加备注

AltStyle によって変換されたページ (->オリジナル) /