← All docs

session_set_save_handler() — internals

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

session_set_save_handler() — internals

Where it lives

Lowering notes

  • Implemented by the compiler-injected web prelude.

Semantic descriptor

Shared contract implemented by an injected elephc-PHP prelude.

EIR and runtime boundary

Implemented by an injected elephc-PHP prelude.

Signature summary

function session_set_save_handler(mixed $handler_or_open = null, mixed $register_or_close = true, mixed $read = null, mixed $write = null, mixed $destroy = null, mixed $gc = null, mixed $create_sid = null, mixed $validate_id = null, mixed $update_timestamp = null): bool

What the type checker enforces

  • Arity: takes 0–9 arguments (9 optional).

Eval interpreter (magician)

Not callable from eval’d code — the magician interpreter has no entry for this builtin.

Cross-references