array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'fr', ), 'this' => array ( 0 => 'function.opcache-get-status.php', 1 => 'opcache_get_status', ), 'up' => array ( 0 => 'ref.opcache.php', 1 => 'Fonctions OPcache', ), 'prev' => array ( 0 => 'function.opcache-get-configuration.php', 1 => 'opcache_get_configuration', ), 'next' => array ( 0 => 'function.opcache-invalidate.php', 1 => 'opcache_invalidate', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'fr', 'path' => 'reference/opcache/functions/opcache-get-status.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL ZendOpcache > 7.0.2)
opcache_get_status — Récupère les informations de statut du cache
Cette fonction retourne les informations de statut de l'instance du cache en mémoire. Elle ne renvoie pas d'informations sur le cache de fichiers.
include_scripts
Inclut les informations spécifiques aux scripts
Retourne un tableau d'informations, optionnellement contenant un script
spécifique d'informations de statut,
ou false
si une erreur survient.
Si opcache.restrict_api
est utilisé, et que le chemin
courant est en violation avec les règles, une alerte E_WARNING sera
émise ; aucune information de statut ne sera retournée.