← All docs

stream_bucket_new() — internals

Compiler internals for stream_bucket_new(): lowering path, type checks, and runtime helpers.

stream_bucket_new() — internals

Where it lives

Lowering notes

  • Lowers stream_bucket_new(stream, data) into a stdClass-backed bucket object.

Runtime helpers

No direct __rt_* helpers captured — the lowering is inlined or routes through another builtin.

Signature summary

function stream_bucket_new(resource $stream, string $buffer): mixed

What the type checker enforces

  • Arity: takes exactly 2 arguments.

Eval interpreter (magician)

Cross-references