PHPverse 2025

stream_bucket_new

(PHP 5, PHP 7, PHP 8)

stream_bucket_new Create a new bucket for use on the current stream

Description

stream_bucket_new(resource $stream, string $buffer): StreamBucket
Warning

This function is currently not documented; only its argument list is available.

Changelog

Version Description
8.4.0 This function returns a StreamBucket instance now; previously, an stdClass was returned.
add a note

User Contributed Notes

There are no user contributed notes for this page.
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