<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/refs.basic.php.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'pt_BR',
  ),
  'this' => 
  array (
    0 => 'book.opcache.php',
    1 => 'OPcache',
    2 => 'OPcache',
  ),
  'up' => 
  array (
    0 => 'refs.basic.php.php',
    1 => 'Afetando o comportamento do PHP',
  ),
  'prev' => 
  array (
    0 => 'class.ffi-parserexception.php',
    1 => 'FFI\\ParserException',
  ),
  'next' => 
  array (
    0 => 'opcache.setup.php',
    1 => 'Instala&ccedil;&atilde;o/Configura&ccedil;&atilde;o',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'pt_BR',
    'path' => 'reference/opcache/book.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/book.opcache.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="book.opcache" class="book">
 
 <h1 class="title">OPcache</h1>

 <div id="intro.opcache" class="preface">
  <h1 class="title">Introdução</h1>
  <p class="simpara">
   OPcache melhora o desempenho do PHP armazenando bytecode de script pré-compilado
   na memória compartilhada, eliminando assim a necessidade do PHP carregar e analisar scripts
   em cada solicitação.
  </p>
  <p class="simpara">
   Esta extensão é empacotada com o PHP 5.5.0 e posterior, e está
   <a href="https://pecl.php.net/package/ZendOpcache" class="link external">&raquo;&nbsp;disponível no PECL</a>
   para PHP versões 5.2, 5.3 e 5.4.
  </p>
 </div>

 






 




 








<ul class="chunklist chunklist_book"><li><a href="opcache.setup.php">Instala&ccedil;&atilde;o/Configura&ccedil;&atilde;o</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="opcache.installation.php">Instala&ccedil;&atilde;o</a></li><li><a href="opcache.configuration.php">Configura&ccedil;&otilde;es em Execu&ccedil;&atilde;o</a></li></ul></li><li><a href="opcache.preloading.php">Preloading</a></li><li><a href="ref.opcache.php">Fun&ccedil;&otilde;es de OPcache</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.opcache-compile-file.php">opcache_compile_file</a> — Compila e armazena em cache um script PHP sem execut&aacute;-lo</li><li><a href="function.opcache-get-configuration.php">opcache_get_configuration</a> — Obt&eacute;m informa&ccedil;&otilde;es de configura&ccedil;&atilde;o sobre o cache</li><li><a href="function.opcache-get-status.php">opcache_get_status</a> — Obt&eacute;m informa&ccedil;&otilde;es de status sobre o cache</li><li><a href="function.opcache-invalidate.php">opcache_invalidate</a> — Invalida um script em cache</li><li><a href="function.opcache-is-script-cached.php">opcache_is_script_cached</a> — Informa se um script &eacute; armazenado em cache no OPCache</li><li><a href="function.opcache-is-script-cached-in-file-cache.php">opcache_is_script_cached_in_file_cache</a> — Informa se um script est&aacute; armazenado no cache de arquivo do OPCache</li><li><a href="function.opcache-jit-blacklist.php">opcache_jit_blacklist</a> — Impede que uma fun&ccedil;&atilde;o seja compilada pelo JIT</li><li><a href="function.opcache-reset.php">opcache_reset</a> — Redefine o conte&uacute;do do cache opcode</li></ul></li></ul></div><?php manual_footer($setup); ?>