mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2026-03-03 19:47:13 +08:00
v0.0.2
This commit is contained in:
@@ -1,83 +1,83 @@
|
||||
<!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>Check whether a specific entry exists</title>
|
||||
</head>
|
||||
<body class="docs"><div id="layout">
|
||||
<div id="layout-content"><div id="function.shm-has-var" class="refentry">
|
||||
<div class="refnamediv">
|
||||
<h1 class="refname">shm_has_var</h1>
|
||||
<p class="verinfo">(PHP 5 >= 5.3.0, PHP 7)</p><p class="refpurpose"><span class="refname">shm_has_var</span> — <span class="dc-title">Check whether a specific entry exists</span></p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="refsect1 description" id="refsect1-function.shm-has-var-description">
|
||||
<h3 class="title">说明</h3>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="methodname"><strong>shm_has_var</strong></span>
|
||||
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$shm_identifier</code></span>
|
||||
, <span class="methodparam"><span class="type">int</span> <code class="parameter">$variable_key</code></span>
|
||||
) : <span class="type">bool</span></div>
|
||||
|
||||
<p class="para rdfs-comment">
|
||||
Checks whether a specific key exists inside a shared memory segment.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 parameters" id="refsect1-function.shm-has-var-parameters">
|
||||
<h3 class="title">参数</h3>
|
||||
<p class="para">
|
||||
<dl>
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">shm_identifier</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
Shared memory segment, obtained from <span class="function"><a href="shm_attach.html" class="function">shm_attach()</a></span>.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">variable_key</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
The variable key.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 returnvalues" id="refsect1-function.shm-has-var-returnvalues">
|
||||
<h3 class="title">返回值</h3>
|
||||
<p class="para">
|
||||
Returns <strong><code>TRUE</code></strong> if the entry exists, otherwise <strong><code>FALSE</code></strong>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 seealso" id="refsect1-function.shm-has-var-seealso">
|
||||
<h3 class="title">参见</h3>
|
||||
<p class="para">
|
||||
<ul class="simplelist">
|
||||
<li class="member"><span class="function"><a href="shm_get_var.html" class="function" rel="rdfs-seeAlso">shm_get_var()</a> - Returns a variable from shared memory</span></li>
|
||||
<li class="member"><span class="function"><a href="shm_put_var.html" class="function" rel="rdfs-seeAlso">shm_put_var()</a> - Inserts or updates a variable in shared memory</span></li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<!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>Check whether a specific entry exists</title>
|
||||
</head>
|
||||
<body class="docs"><div id="layout">
|
||||
<div id="layout-content"><div id="function.shm-has-var" class="refentry">
|
||||
<div class="refnamediv">
|
||||
<h1 class="refname">shm_has_var</h1>
|
||||
<p class="verinfo">(PHP 5 >= 5.3.0, PHP 7)</p><p class="refpurpose"><span class="refname">shm_has_var</span> — <span class="dc-title">Check whether a specific entry exists</span></p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="refsect1 description" id="refsect1-function.shm-has-var-description">
|
||||
<h3 class="title">说明</h3>
|
||||
<div class="methodsynopsis dc-description">
|
||||
<span class="methodname"><strong>shm_has_var</strong></span>
|
||||
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$shm_identifier</code></span>
|
||||
, <span class="methodparam"><span class="type">int</span> <code class="parameter">$variable_key</code></span>
|
||||
) : <span class="type">bool</span></div>
|
||||
|
||||
<p class="para rdfs-comment">
|
||||
Checks whether a specific key exists inside a shared memory segment.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 parameters" id="refsect1-function.shm-has-var-parameters">
|
||||
<h3 class="title">参数</h3>
|
||||
<p class="para">
|
||||
<dl>
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">shm_identifier</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
Shared memory segment, obtained from <span class="function"><a href="shm_attach.html" class="function">shm_attach()</a></span>.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<code class="parameter">variable_key</code></dt>
|
||||
|
||||
<dd>
|
||||
|
||||
<p class="para">
|
||||
The variable key.
|
||||
</p>
|
||||
</dd>
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 returnvalues" id="refsect1-function.shm-has-var-returnvalues">
|
||||
<h3 class="title">返回值</h3>
|
||||
<p class="para">
|
||||
Returns <strong><code>TRUE</code></strong> if the entry exists, otherwise <strong><code>FALSE</code></strong>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="refsect1 seealso" id="refsect1-function.shm-has-var-seealso">
|
||||
<h3 class="title">参见</h3>
|
||||
<p class="para">
|
||||
<ul class="simplelist">
|
||||
<li class="member"><span class="function"><a href="shm_get_var.html" class="function" rel="rdfs-seeAlso">shm_get_var()</a> - Returns a variable from shared memory</span></li>
|
||||
<li class="member"><span class="function"><a href="shm_put_var.html" class="function" rel="rdfs-seeAlso">shm_put_var()</a> - Inserts or updates a variable in shared memory</span></li>
|
||||
</ul>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
</div></div></div></body></html>
|
||||
Reference in New Issue
Block a user