mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-18 05:26:57 +08:00
81 lines
2.5 KiB
HTML
81 lines
2.5 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.mysqli-get-links-stats" class="refentry">
|
|
<div class="refnamediv">
|
|
<h1 class="refname">mysqli_get_links_stats</h1>
|
|
<p class="verinfo">(PHP 5 >= 5.6.0, PHP 7)</p><p class="refpurpose"><span class="refname">mysqli_get_links_stats</span> — <span class="dc-title">返回打开和缓存的链接相关信息</span></p>
|
|
|
|
</div>
|
|
|
|
<div class="refsect1 description" id="refsect1-function.mysqli-get-links-stats-description">
|
|
<h3 class="title">说明</h3>
|
|
<div class="methodsynopsis dc-description">
|
|
<span class="methodname"><strong>mysqli_get_links_stats</strong></span>
|
|
( <span class="methodparam">void</span>
|
|
) : <span class="type">array</span></div>
|
|
|
|
<p class="para rdfs-comment">
|
|
<span class="function"><strong>mysqli_get_links_stats()</strong></span> 返回已经打开和缓存的MySQL链接的相关信息。
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 parameters" id="refsect1-function.mysqli-get-links-stats-parameters">
|
|
<h3 class="title">参数</h3>
|
|
<p class="para">此函数没有参数。</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 returnvalues" id="refsect1-function.mysqli-get-links-stats-returnvalues">
|
|
<h3 class="title">返回值</h3>
|
|
<p class="para">
|
|
<span class="function"><strong>mysqli_get_links_stats()</strong></span> 返回一个有三个元素的关联数组, 键如下:
|
|
<dl>
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">total</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
类型 <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span> 所有状态链接的总数
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">active_plinks</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
类型 <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span> 不活跃的持久链接数
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">cached_plinks</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
类型 <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span> 不活跃的持久链接数
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
</dl>
|
|
|
|
</p>
|
|
</div>
|
|
|
|
</div></div></div></body></html> |