← All docs

setrawcookie() — internals

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

setrawcookie() — 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 setrawcookie(mixed $name, mixed $value = '', mixed $expires = 0, mixed $path = '', mixed $domain = '', mixed $secure = false, mixed $httponly = false): mixed

What the type checker enforces

  • Arity: takes 1–7 arguments (6 optional).

Eval interpreter (magician)

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

Cross-references