function.apc-bin-dumpfile.html 4.89 KB
<!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>Output a binary dump of cached files and user variables to a file</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.apc-bin-dump.html">apc_bin_dump</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.apc-bin-load.html">apc_bin_load</a></div>
 <div class="up"><a href="ref.apc.html">APC Funktionen</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.apc-bin-dumpfile" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">apc_bin_dumpfile</h1>
  <p class="verinfo">(PECL apc &gt;= 3.1.4)</p><p class="refpurpose"><span class="refname">apc_bin_dumpfile</span> &mdash; <span class="dc-title">Output a binary dump of cached files and user variables to a file</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.apc-bin-dumpfile-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">int</span> <span class="methodname"><strong>apc_bin_dumpfile</strong></span>
    ( <span class="methodparam"><span class="type">array</span> <code class="parameter">$files</code></span>
   , <span class="methodparam"><span class="type">array</span> <code class="parameter">$user_vars</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$filename</code></span>
   [, <span class="methodparam"><span class="type">int</span> <code class="parameter">$flags</code><span class="initializer"> = 0</span></span>
   [, <span class="methodparam"><span class="type">resource</span> <code class="parameter">$context</code><span class="initializer"> = NULL</span></span>
  ]] )</div>

  <p class="para rdfs-comment">
   Outputs a binary dump of the given files and user variables from the APC
   cache to the named file.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.apc-bin-dumpfile-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <dl>

   
    <dt>
<code class="parameter">files</code></dt>

    <dd>

     <p class="para">
      The file names being dumped.
     </p>
    </dd>

   
   
    <dt>
<code class="parameter">user_vars</code></dt>

    <dd>

     <p class="para">
      The user variables being dumped.
     </p>
    </dd>

   
   
    <dt>
<code class="parameter">filename</code></dt>

    <dd>

     <p class="para">
      The filename where the dump is being saved.
     </p>
    </dd>

   
   
    <dt>
<code class="parameter">flags</code></dt>

    <dd>

     <p class="para">
      Flags passed to the <code class="parameter">filename</code> stream. See the
      <span class="function"><a href="function.file-put-contents.html" class="function">file_put_contents()</a></span> documentation for details.
     </p>
    </dd>

   
   
    <dt>
<code class="parameter">context</code></dt>

    <dd>

     <p class="para">
      The context passed to the <code class="parameter">filename</code> stream. See the
      <span class="function"><a href="function.file-put-contents.html" class="function">file_put_contents()</a></span> documentation for details.
     </p>
    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.apc-bin-dumpfile-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="para">
   The number of bytes written to the file, otherwise
   <strong><code>FALSE</code></strong> if APC is not enabled, <code class="parameter">filename</code> is an invalid file name,
   <code class="parameter">filename</code> can&#039;t be opened, the file dump can&#039;t be completed
   (e.g., the hard drive is out of disk space), or an unknown error was encountered.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.apc-bin-dumpfile-seealso">
  <h3 class="title">Siehe auch</h3>
  <ul class="simplelist">
   <li class="member"><span class="function"><a href="function.apc-bin-dump.html" class="function" rel="rdfs-seeAlso">apc_bin_dump()</a> - Get a binary dump of the given files and user variables</span></li>
   <li class="member"><span class="function"><a href="function.apc-bin-load.html" class="function" rel="rdfs-seeAlso">apc_bin_load()</a> - Load a binary dump into the APC file/user cache</span></li>
  </ul>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.apc-bin-dump.html">apc_bin_dump</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.apc-bin-load.html">apc_bin_load</a></div>
 <div class="up"><a href="ref.apc.html">APC Funktionen</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>