StreamBucket クラス

(PHP 8 >= 8.4.0)

はじめに

ストリームバケットは、バケット群から取り出すことのできるストリームのチャンクです。

クラス概要

final class StreamBucket {
/* プロパティ */
public readonly resource $bucket;
public readonly string $data;
public readonly int $datalen;
public readonly int $dataLength;
}

プロパティ

resource bucket

userfilter.bucket リソース。

string data

バケット内の現在の文字列。

int datalen

バケット内の文字列の長さ。 PHP 8.4 以降は非推奨であり、StreamBucket::$dataLength を使用してください。

int dataLength

バケット内の文字列の長さ。

add a note

User Contributed Notes

There are no user contributed notes for this page.