← All docs

clearstatcache() — internals

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

clearstatcache() — internals

Where it lives

Lowering notes

  • Lowers clearstatcache(...) as an ordered no-op after EIR operand evaluation.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_is_dir

Signature summary

function clearstatcache(bool $clear_realpath_cache = false, string $filename = ''): void

What the type checker enforces

  • Arity: takes 0–2 arguments (2 optional).

Eval interpreter (magician)

Cross-references