← All docs

opcache_reset() - internals

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

opcache_reset() - internals

Where it lives

Lowering notes

  • Implemented by the compiler-injected OPcache 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 opcache_reset(): bool

What the type checker enforces

  • Arity: takes no arguments.

Eval interpreter (magician)

Calls prefer the program’s native OPcache prelude declarations, which carry the configured directives, live cache, and API restrictions. Dedicated interpreter handlers cover programs without those declarations (crates/elephc-magician/src/interpreter/builtins/registry/dispatch/mod.rs). This route does not use an eval_builtin! binding.

Cross-references