opcache_get_status
(PHP 5 >= 5.5.0, PHP 7, PECL ZendOpcache > 7.0.2)
opcache_get_status — Get status information about the cache
Description
opcache_get_status ([ bool $include_scripts = true ] ) : array|false
This function returns state information about the cache instance
Parameters
-
include_scripts
-
Include script specific state information
Return Values
Returns an array of information, optionally containing script specific state information, or false
on failure.
Errors/Exceptions
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.
See Also
- opcache_get_configuration() - Get configuration information about the cache
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.opcache-get-status.php