← All docs

session_create_id() — internals

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

session_create_id() — 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_create_id(string $prefix = ''): mixed

What the type checker enforces

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

Eval interpreter (magician)

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

Cross-references