Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 4962

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Resets the contents of the opcode cache</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.opcache-invalidate.html">opcache_invalidate</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="book.outcontrol.html">Output Control</a></div>
 <div class="up"><a href="ref.opcache.html">OPcache Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.opcache-reset" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">opcache_reset</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.5.0, PECL ZendOpcache &gt;= 7.0.0)</p><p class="refpurpose"><span class="refname">opcache_reset</span> &mdash; <span class="dc-title">Resets the contents of the opcode cache</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.opcache-reset-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">boolean</span> <span class="methodname"><strong>opcache_reset</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <p class="para rdfs-comment">
   This function resets the entire opcode cache. After calling
    <span class="function"><strong>opcache_reset()</strong></span>, all scripts will be reloaded and
   reparsed the next time they are hit.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.opcache-reset-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">This function has no parameters.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.opcache-reset-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns <strong><code>TRUE</code></strong> if the opcode cache was reset, or <strong><code>FALSE</code></strong> if the opcode
   cache is disabled.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.opcache-reset-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="function"><a href="function.opcache-invalidate.html" class="function" rel="rdfs-seeAlso">opcache_invalidate()</a> - Invalidates a cached script</span></li>
   </ul>
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.opcache-invalidate.html">opcache_invalidate</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="book.outcontrol.html">Output Control</a></div>
 <div class="up"><a href="ref.opcache.html">OPcache Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>