We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11cb464 commit 4298109Copy full SHA for 4298109
1 file changed
src/Tracy/assets/Bar/info.panel.phtml
@@ -26,7 +26,7 @@ $countClasses = function ($list) {
26
};
27
28
$opcache = function_exists('opcache_get_status') ? @opcache_get_status() : null; // @ can be restricted
29
-$cachedFiles = array_intersect(array_keys((array) $opcache['scripts']), get_included_files());
+$cachedFiles = isset($opcache['scripts']) ? array_intersect(array_keys($opcache['scripts']), get_included_files()) : [];
30
31
$info = [
32
'Execution time' => number_format($this->time * 1000, 1, '.', ' ') . ' ms',
0 commit comments