Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 2021

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>Clears the APC cache</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.apc-cas.html">apc_cas</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.apc-compile-file.html">apc_compile_file</a></div>
 <div class="up"><a href="ref.apc.html">APC Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.apc-clear-cache" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">apc_clear_cache</h1>
  <p class="verinfo">(PECL apc &gt;= 2.0.0)</p><p class="refpurpose"><span class="refname">apc_clear_cache</span> &mdash; <span class="dc-title">
   Clears the APC cache
  </span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.apc-clear-cache-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">bool</span> <span class="methodname"><strong>apc_clear_cache</strong></span>
    ([ <span class="methodparam"><span class="type">string</span> <code class="parameter">$cache_type</code><span class="initializer"> = &quot;&quot;</span></span>
  ] )</div>

  <p class="para rdfs-comment">
   Clears the user/system cache.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.apc-clear-cache-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>

    <dt>

     <span class="term"><em><code class="parameter">cache_type</code></em></span>
     <dd>

      <p class="para">
       If <em><code class="parameter">cache_type</code></em> is &quot;<em>user</em>&quot;, the
       user cache will be cleared; otherwise, the system cache (cached files)
       will be cleared.
      </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.apc-clear-cache-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns <strong><code>TRUE</code></strong> always
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.apc-clear-cache-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="function"><a href="function.apc-cache-info.html" class="function" rel="rdfs-seeAlso">apc_cache_info()</a> - Retrieves cached information from APC's data store</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.apc-cas.html">apc_cas</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.apc-compile-file.html">apc_compile_file</a></div>
 <div class="up"><a href="ref.apc.html">APC Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>