OpCodeCache
class OpCodeCache (View source)
Provides helpers to handle PHP opcode caches.
Methods
static bool
isEnabled()
Checks if OpCodeCache is enabled.
static
invalidate(string $pathname)
Invalidates a PHP file from a possibly active opcode cache.
Details
static bool
isEnabled()
Checks if OpCodeCache is enabled.
static
invalidate(string $pathname)
Invalidates a PHP file from a possibly active opcode cache.
In case the opcode cache does not support to invalidate an individual file, the entire cache will be flushed.