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 19d1a62 commit f276579Copy full SHA for f276579
templates/public/statistics.php.twig
@@ -3,6 +3,8 @@
3
require('{{ entryPointPath }}');
4
5
$opcacheStatus = function_exists('opcache_get_status') ? opcache_get_status() : [];
6
+$opcacheStatus = is_array($opcacheStatus) ? $opcacheStatus : [];
7
+
8
if (array_key_exists('preload_statistics', $opcacheStatus) === true) {
9
$preloadMemory = $opcacheStatus['preload_statistics']['memory_consumption'];
10
$preloadFiles = count($opcacheStatus['preload_statistics']['scripts']);
0 commit comments