← All docs

stream_get_line() — internals

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

stream_get_line() — internals

Where it lives

Lowering notes

  • Lowers stream_get_line(stream, length, ending?).

Runtime helpers

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

Signature summary

function stream_get_line(resource $stream, int $length, string $ending = ''): string

What the type checker enforces

  • Arity: takes 2–3 arguments (1 optional).

Eval interpreter (magician)

Cross-references