stream_bucket_make_writeable

(PHP 5, PHP 7, PHP 8)

stream_bucket_make_writeable Returns a bucket object from the brigade to operate on

Descrizione

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

Elenco dei parametri

brigade

The brigade to return a bucket object from.

Valori restituiti

Returns a bucket object or null.

Log delle modifiche

Versione Descrizione
8.4.0 This function returns a StreamBucket instance now; previously, an stdClass was returned.

Vedere anche:

add a note

User Contributed Notes 1 note

up
0
Anonymous
2 years ago
the object $bucket which is returned also includes a third parameter, $bucket->bucket, which is a reference to the resource
To Top

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant