← All docs

stream_context_set_option() — internals

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

stream_context_set_option() — internals

Where it lives

Lowering notes

  • Lowers stream_context_set_option(context, options) and the four-argument form.

Runtime helpers

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

Signature summary

function stream_context_set_option(resource $context, string $wrapper_or_options, string $option_name = null, mixed $value = null): bool

What the type checker enforces

  • Arity: takes 2–4 arguments (2 optional).

Eval interpreter (magician)

Cross-references