← All docs

opcache_is_script_cached_in_file_cache() - internals

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

opcache_is_script_cached_in_file_cache() - 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_is_script_cached_in_file_cache(mixed $filename): bool

What the type checker enforces

  • Arity: takes exactly 1 argument.

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