« stream_bucket_make_writeable
stream_bucket_prepend »

stream_bucket_new

(PHP 5, PHP 7, PHP 8)

stream_bucket_new — 現在のストリームで使用する新しい bucket を作成する

説明

function stream_bucket_new(resource $stream, string $buffer): StreamBucket
警告

この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。

変更履歴

バージョン 説明
8.4.0 この関数は StreamBucket のインスタンスを返すようになりました。これより前のバージョンでは、stdClass を返していました。
関連キーワード:
bucket   stream   ストリーム   StreamBucket   make   writeable   prepend   resource   buffer   詳細   記述   履歴   インスタンス   stdClass
関連する関数・ページ:
function.stream-bucket-append   function.stream-bucket-make-writeable   function.stream-bucket-prepend   class.streambucket   function.stream-filter-register   ref.stream