← All docs

stream_is_local() — internals

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

stream_is_local() — internals

Where it lives

Lowering notes

  • Lowers stream_is_local(stream) as a true predicate after evaluating its argument.

Runtime helpers

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

Signature summary

function stream_is_local(resource $stream): bool

What the type checker enforces

  • Arity: takes exactly 1 argument.

Eval interpreter (magician)

Cross-references