The StreamBucket class
Guide
Edit on GitHub ✎
A stream bucket is a chunk of a stream which can be extracted from bucket brigades.
Intro
A stream bucket is a chunk of a stream which can be extracted from bucket brigades.
Class synopsis
final StreamBucket { }
Properties
- resource
bucket A
userfilter.bucketresource.- string
data The current string in the bucket.
- int
datalen The length of the string in the bucket. Deprecated as of PHP 8.4 in favor of
StreamBucket::$dataLength.- int
dataLength The length of the string in the bucket.