opcache_get_status

Get status information about the cache

&reftitle.description; ``array``false```opcache_get_status` `bool` `include_scripts`&true;

This function returns state information about the in-memory cache instance. It will not return any information about the file cache.

&reftitle.parameters;

`include_scripts`

- Include script specific state information

&reftitle.returnvalues;

Returns an array of information, optionally containing script specific state information, &return.falseforfailure;.

&reftitle.errors;

If `opcache.restrict_api` is in use and the current path is in violation of the rule, an E_WARNING will be raised; no status information will be returned.

&reftitle.seealso;

- `opcache_get_configuration`