array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'pt_BR', ), 'this' => array ( 0 => 'function.opcache-reset.php', 1 => 'opcache_reset', ), 'up' => array ( 0 => 'ref.opcache.php', 1 => 'OPcache Funções', ), 'prev' => array ( 0 => 'function.opcache-is-script-cached.php', 1 => 'opcache_is_script_cached', ), 'next' => array ( 0 => 'book.outcontrol.php', 1 => 'Controle de Saída', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'pt_BR', 'path' => 'reference/opcache/functions/opcache-reset.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.0)
opcache_reset — Redefine o conteúdo do cache opcode
Esta função redefine todo o cache do opcode. Depois de chamar opcache_reset(), todos os scripts serão recarregados e reanalisados na próxima vez que forem atingidos. Esta função redefine apenas o cache na memória, não o cache do arquivo.
Esta função não possui parâmetros.
Retorna true
se o cache de opcode foi redefinido, ou false
se o cache de opcode
estiver desativado ou se a reinicialização estiver pendente ou em progresso (consulte opcache_get_status()).