reference/opcache/functions/opcache-compile-file.xml
3cbc58c1afecef1a9ea62b4c264efeaed067b530
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="function.opcache-compile-file" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>opcache_compile_file</refname>
...
...
@@ -10,8 +9,8 @@
10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
11
<methodsynopsis>
13
-
<type>boolean</type><methodname>opcache_compile_file</methodname>
14
-
<methodparam><type>string</type><parameter>file</parameter></methodparam>
12
+
<type>bool</type><methodname>opcache_compile_file</methodname>
13
+
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
15
14
</methodsynopsis>
16
15
<para>
17
16
This function compiles a PHP script and adds it to the opcode cache without
...
...
@@ -24,7 +23,7 @@
24
23
&reftitle.parameters;
25
24
<variablelist>
26
25
<varlistentry>
27
-
<term><parameter>file</parameter></term>
26
+
<term><parameter>filename</parameter></term>
28
27
<listitem>
29
28
<para>
30
29
The path to the PHP script to be compiled.
...
...
@@ -37,7 +36,7 @@
37
36
<refsect1 role="returnvalues">
38
37
&reftitle.returnvalues;
39
38
<para>
40
-
Returns &true; if <parameter>file</parameter> was compiled successfully
39
+
Returns &true; if <parameter>filename</parameter> was compiled successfully
41
40
&return.falseforfailure;.
42
41
</para>
43
42
</refsect1>
...
...
@@ -45,7 +44,7 @@
45
44
<refsect1 role="errors">
46
45
&reftitle.errors;
47
46
<para>
48
-
If <parameter>file</parameter> cannot be loaded or compiled, an error of
47
+
If <parameter>filename</parameter> cannot be loaded or compiled, an error of
49
48
level <constant>E_WARNING</constant> is generated. You may use
50
49
<link linkend="language.operators.errorcontrol">@</link> to suppress this
51
50
warning.
...
...
@@ -61,7 +60,6 @@
61
60
</para>
62
61
</refsect1>
63
62
</refentry>
64
-

65
63
<!-- Keep this comment at the end of the file
66
64
Local variables:
67
65
mode: sgml
68
66