← All docs

stream_socket_enable_crypto() — internals

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

stream_socket_enable_crypto() — internals

Where it lives

Lowering notes

  • Lowers stream_socket_enable_crypto(stream, enable, method?, session_stream?).

Runtime helpers

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

Signature summary

function stream_socket_enable_crypto(resource $stream, bool $enable, int $crypto_method = null, resource $session_stream = null): bool

What the type checker enforces

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

Eval interpreter (magician)

Cross-references