mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-18 05:26:57 +08:00
70 lines
2.4 KiB
HTML
70 lines
2.4 KiB
HTML
<!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>转换调试输出的开/关</title>
|
||
</head>
|
||
<body class="docs"><div id="layout">
|
||
<div id="layout-content"><div id="function.memcache-debug" class="refentry">
|
||
<div class="refnamediv">
|
||
<h1 class="refname">memcache_debug</h1>
|
||
<p class="verinfo">(PECL memcache >= 0.2.0)</p><p class="refpurpose"><span class="refname">memcache_debug</span> — <span class="dc-title">转换调试输出的开/关</span></p>
|
||
|
||
</div>
|
||
|
||
<div class="refsect1 description" id="refsect1-function.memcache-debug-description">
|
||
<h3 class="title">说明</h3>
|
||
<div class="methodsynopsis dc-description">
|
||
<span class="methodname"><strong>memcache_debug</strong></span>
|
||
( <span class="methodparam"><span class="type">bool</span> <code class="parameter">$on_off</code></span>
|
||
) : <span class="type">bool</span></div>
|
||
|
||
|
||
<p class="para rdfs-comment">
|
||
<span class="function"><strong>memcache_debug()</strong></span>在参数
|
||
<code class="parameter">on_off</code>设置为<strong><code>TRUE</code></strong>时打开调试输出,在值为
|
||
<strong><code>FALSE</code></strong>时关闭调试输出。
|
||
<blockquote class="note"><p><strong class="note">Note</strong>:
|
||
<p class="para">
|
||
<span class="function"><strong>memcache_debug()</strong></span>仅仅在PHP以--enable-debug方式编译时可以访问,并且
|
||
总是返回<strong><code>TRUE</code></strong>,其他情况下此函数不会产生任何影响并总是返回<strong><code>FALSE</code></strong>。
|
||
</p>
|
||
</p></blockquote>
|
||
</p>
|
||
|
||
</div>
|
||
|
||
|
||
<div class="refsect1 parameters" id="refsect1-function.memcache-debug-parameters">
|
||
<h3 class="title">参数</h3>
|
||
<p class="para">
|
||
<dl>
|
||
|
||
|
||
<dt>
|
||
<code class="parameter">on_off</code></dt>
|
||
|
||
<dd>
|
||
|
||
<p class="para">
|
||
<strong><code>TRUE</code></strong>表明打开调试输出。
|
||
<strong><code>FALSE</code></strong>表明关闭调试输出。
|
||
</p>
|
||
</dd>
|
||
|
||
|
||
</dl>
|
||
|
||
</p>
|
||
</div>
|
||
|
||
|
||
<div class="refsect1 returnvalues" id="refsect1-function.memcache-debug-returnvalues">
|
||
<h3 class="title">返回值</h3>
|
||
<p class="para">
|
||
当PHP以--enalbe-debug选项构建时返回<strong><code>TRUE</code></strong>其他情况下返回<strong><code>FALSE</code></strong>。
|
||
</p>
|
||
</div>
|
||
|
||
|
||
</div></div></div></body></html> |