Source of: /manual/en/function.apc-compile-file.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.apc.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'function.apc-compile-file.php',
1 => 'apc_compile_file',
),
'up' =>
array (
0 => 'ref.apc.php',
1 => 'APC Functions',
),
'prev' =>
array (
0 => 'function.apc-clear-cache.php',
1 => 'apc_clear_cache',
),
'next' =>
array (
0 => 'function.apc-define-constants.php',
1 => 'apc_define_constants',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<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>
<a name="function.apc-compile-file.description"></a><div class="refsect1 description">
<h3 class="title">Description</h3>
<div class="methodsynopsis dc-description">
<span class="type">bool</span> <span class="methodname"><b>apc_compile_file</b></span>
( <span class="methodparam"><span class="type">string</span> <tt class="parameter">$filename</tt></span>
)</div>
<p class="para rdfs-comment">
Stores a file in the bytecode cache, bypassing all filters.
</p>
</div>
<a name="function.apc-compile-file.parameters"></a><div class="refsect1 parameters">
<h3 class="title">Parameters</h3>
<p class="para">
</p><dl>
<dt class="varlistentry">
<span class="term"><i><tt class="parameter">filename</tt></i>
</span>
</dt><dd class="listitem">
<p class="para">
Full or relative path to a PHP file that will be compiled and stored in
the bytecode cache.
</p>
</dd>
</dl>
<p>
</p>
</div>
<a name="function.apc-compile-file.returnvalues"></a><div class="refsect1 returnvalues">
<h3 class="title">Return Values</h3>
<p class="para">
Returns <b><tt class="constant">TRUE</tt></b> on success or <b><tt class="constant">FALSE</tt></b> on failure.
</p>
</div>
</div><?php manual_footer(); ?>