← All docs

opcache_reset()

Clears the whole opcode cache.

opcache_reset()

function opcache_reset(): bool

Clears the whole opcode cache.

Parameters: none.

Returns: bool

Availability

Compiled (AOT)Magician (eval)
AvailableAvailable

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how opcache_reset is implemented in the compiler, see the internals page.