OPcache 関数
PHP Manual

opcache_get_status

(PHP 5 >= 5.5.5, PECL ZendOpcache > 7.0.2)

opcache_get_statusGet status information about the cache

説明

array opcache_get_status ([ boolean $get_scripts = TRUE ] )

This function returns state information about the cache instance

パラメータ

get_scripts

Include script specific state information

返り値

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

エラー / 例外

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.

参考


OPcache 関数
PHP Manual