略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: stream_bucket_make_writeable

2024-04-27

stream_bucket_make_writeable

(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): ?object

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 with the properties listed below or null.

data (string)

data bucket The current string in the bucket.

datalen (integer)

datalen bucket The length of the string in the bucket.

参见

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.stream-bucket-make-writeable.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3