<!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>Stores a file in the bytecode cache, bypassing all filters.</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.apc-clear-cache.html">apc_clear_cache</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.apc-dec.html">apc_dec</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-compile-file" class="refentry"> <div class="refnamediv"> <h1 class="refname">apc_compile_file</h1> <p class="verinfo">(PECL apc >= 3.0.13)</p><p class="refpurpose"><span class="refname">apc_compile_file</span> — <span class="dc-title"> Stores a file in the bytecode cache, bypassing all filters. </span></p> </div> <div class="refsect1 description" id="refsect1-function.apc-compile-file-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <span class="methodname"><strong>apc_compile_file</strong></span> ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$filename</code></span> [, <span class="methodparam"><span class="type">bool</span> <code class="parameter">$atomic</code><span class="initializer"> = true</span></span> ] )</div> <p class="para rdfs-comment"> Stores a file in the bytecode cache, bypassing all filters. </p> </div> <div class="refsect1 parameters" id="refsect1-function.apc-compile-file-parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><em><code class="parameter">filename</code></em></span> <dd> <p class="para"> Full or relative path to a PHP file that will be compiled and stored in the bytecode cache. </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.apc-compile-file-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns <strong><code>TRUE</code></strong> on success or <strong><code>FALSE</code></strong> on failure. </p> </div> <div class="refsect1 seealso" id="refsect1-function.apc-compile-file-seealso"> <h3 class="title">See Also</h3> <ul class="simplelist"> <li class="member"> <span class="function"><a href="function.apc-bin-dumpfile.html" class="function" rel="rdfs-seeAlso">apc_bin_dumpfile()</a> - Output a binary dump of cached files and user variables to a file</span></li> <li class="member"> <span class="function"><a href="function.apc-bin-loadfile.html" class="function" rel="rdfs-seeAlso">apc_bin_loadfile()</a> - Load a binary dump from a file 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-clear-cache.html">apc_clear_cache</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.apc-dec.html">apc_dec</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>