opcache_get_status

(PHP 5 >= 5.5.5, PHP 7, PECL ZendOpcache > 7.0.2)
Get status information about the cache
array opcache_get_status ([ boolean $get_scripts = TRUE ] )

This function returns state information about the cache instance

Parameters:
get_scripts

Include script specific state information

Returns:

Returns an array of information, optionally containing script specific state information

Exception:

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() -

doc_php
2016-02-24 15:53:52
Comments
Leave a Comment

Please login to continue.