← All docs

stream_supports_lock() — internals

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

stream_supports_lock() — internals

Where it lives

Lowering notes

  • Lowers stream_supports_lock(stream) as true after resource unboxing.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_stream_isatty

Signature summary

function stream_supports_lock(resource $stream): bool

What the type checker enforces

  • Arity: takes exactly 1 argument.

Eval interpreter (magician)

Cross-references