← All docs

opcache_get_configuration() - internals

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

opcache_get_configuration() - 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_get_configuration(): array|false

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