HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

stream_bucket_make_writeable

Description

The stream_bucket_make_writeable of Stream for PHP returns a bucket object from the brigade to operate on.

Syntax

stream_bucket_make_writeable(
    resource $brigade
): ?object

Parameters

brigade

The brigade to return a bucket object from.

Return

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.