Zend OPcache PHP API

PHP Functions

accelerator_reset

Resets the contents of the OPcache shared memory storage. Note: This is not an immediate action. The shared memory storage is reset when a request arrives while the shared memory storage is not being used by a script.

Available since version 3.6

Description

boolean accelerator_reset (void)

Return Value

Returns TRUE unless the OPcache is disabled.

accelerator_get_status

Provides information on OPcache memory usage and cache statistics and the list of cached PHP scripts.

Available since version 4.0

Description

array accelerator_get_status (void)

Return Value

The returned array will contain the following elements: