← All docs

stream_socket_client() — internals

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

stream_socket_client() — internals

Where it lives

Lowering notes

  • Lowers stream_socket_client(address) and records the connected host for TLS defaults.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_stash_connect_host
  • __rt_stream_socket_client

Signature summary

function stream_socket_client(string $address): mixed

What the type checker enforces

  • Arity: takes exactly 1 argument.

Eval interpreter (magician)

Cross-references