← All docs
session_encode() — internals
Compiler internals for session_encode(): lowering path, type checks, and runtime helpers.
session_encode() — internals
Where it lives
- Signature:
crates/elephc-builtin-contract/src/catalog_data.rs - Lowering:
src/web_prelude/build.rs:3046 (session_encode) - Function symbol:
session_encode()
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_encode(): mixed
What the type checker enforces
- Arity: takes no arguments.
Eval interpreter (magician)
Not callable from eval’d code — the magician interpreter has no entry for this builtin.