PHP 8.3.4 Released!

stream_bucket_make_writeable

(PHP 5, PHP 7, PHP 8)

stream_bucket_make_writeable Retorna um objeto bucket da brigada para se operar sobre ele

Descrição

stream_bucket_make_writeable(resource $brigade): ?object

Esta função é chamada sempre que existir a necessidade de acessar e operar no conteúdo de uma brigada. É tipicamente chamada por php_user_filter::filter().

Parâmetros

brigade

A brigada da qual se retornará o objeto bucket.

Valor Retornado

Retorna um objeto bucket com as propriedades listadas abaixo ou null.

data (string)

data bucket A string atual no bucket.

datalen (integer)

datalen bucket O comprimento da string no bucket.

Veja Também

add a note

User Contributed Notes 1 note

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