PHP - Manual: stream_bucket_make_writeable
2024-11-15
(PHP 5, PHP 7, PHP 8)
stream_bucket_make_writeable — Returns a bucket object from the brigade to operate on
$brigade
): ?objectThis 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
bucket
The current string in the bucket.
datalen
bucket
The length of the string in the bucket.
官方地址:https://www.php.net/manual/en/function.stream-bucket-make-writeable.php