opcache_view(); $is_config = !empty($_GET['adx']) && 'cnf' === sanitize_text_field($_GET['adx']); ?>
pt->is_opcache_enable()) : $this->tab_title(esc_html__('OPcache Config', 'docket-cache')); $config = $opcache_view->get_config(); if (empty($config)) : echo Resc::boxmsg(__('No data is available. The opcache_get_configuration function disabled in PHP configuration.', 'docket-cache'), 'warning', false, true, false); else : ?> $v) : ?> = $last ? ' class="border-b"' : ''; ?>>: $v) : $type = \gettype($v); switch ($type) { case 'boolean': $v = $v ? 'true' : 'false'; break; case 'string': $v = '' === $v ? esc_html__('Not set', 'docket-cache') : $v; break; case 'integer': switch ($k) { case 'opcache.memory_consumption': $v = $this->pt->normalize_size($v); break; } break; } $blacklist = []; if ('opcache.blacklist_filename' === $k) { $files = glob($v); if (!empty($files) && \is_array($files)) { $blacklist = $files; } unset($files); } ?>
:
', $blacklist); ?>

tab_title(esc_html__('OPcache Usage', 'docket-cache')); ?> pt->is_opcache_enable()) : echo Resc::boxmsg(__('OPcache not available.', 'docket-cache'), 'warning', false, true, false); elseif (!\is_object($opcache_view)) : echo Resc::boxmsg(__('Failed to load OPcacheList()', 'docket-cache'), 'error', false, true, false); else : if (!$this->pt->opcache_function_exists('opcache_get_status')) { echo Resc::boxmsg(__('No data is available. The opcache_get_status function disabled in PHP configuration.', 'docket-cache'), 'warning', false, true, false); } elseif ($this->pt->is_opcache_blacklisted()) { echo Resc::boxmsg(__("This site's local path has been blacklisted by OPcache configuration, which prevents it from caching.", 'docket-cache'), 'warning', false, true, false); } $stats = $opcache_view->get_usage(); if (empty($stats->file_cache_only)) : ?> blacklist_misses) : ?>
hits; ?> misses; ?>
num_cached_scripts; ?> num_cached_keys; ?>
max_cached_keys; ?> opcache_hit_rate, 0); ?>%
blacklist_misses; ?> blacklist_miss_ratio, 0); ?>%
max_cached_keys; ?> opcache_hit_rate, 0); ?>%
pt->normalize_size($stats->used_memory); ?> pt->normalize_size($stats->free_memory); ?>
pt->normalize_size($stats->wasted_memory); ?> current_wasted_percentage, 0); ?>%
file_cache; ?>
statsfile; ?>

tab_title(esc_html__('OPcache Files', 'docket-cache'), 'title-below'); ?>
get_pagination_arg('total_pages') > 1 || !empty($_GET['s'])) : ?>
search_box(__('Filter Cached Files', 'docket-cache'), 'opclist-info'); ?>
display(); ?>