function.apc-bin-dumpfile.html
4.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!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 >= 3.1.4)</p><p class="refpurpose"><span class="refname">apc_bin_dumpfile</span> — <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't be opened, the file dump can'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>