CacheTool\Proxy\OpcacheProxy::opcache_get_status PHP Method

opcache_get_status() public method

Get status information about the cache
Since: 5.5.5
Since: 7.0.2
public opcache_get_status ( boolean $get_scripts = true ) : array
$get_scripts boolean Include script specific state information
return array Returns an array of information, optionally containing script specific state information
    public function opcache_get_status($get_scripts = true)
    {
        $code = new Code();
        $code->addStatement(sprintf('return opcache_get_status(%s);', var_export($get_scripts, true)));
        return $this->adapter->run($code);
    }