mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-18 05:26:57 +08:00
58 lines
2.6 KiB
HTML
58 lines
2.6 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.mcrypt-generic-end" class="refentry">
|
||
<div class="refnamediv">
|
||
<h1 class="refname">mcrypt_generic_end</h1>
|
||
<p class="verinfo">(PHP 4 >= 4.0.2, PHP 5)</p><p class="refpurpose"><span class="refname">mcrypt_generic_end</span> — <span class="dc-title">终止加密</span></p>
|
||
|
||
</div>
|
||
|
||
<div id="function.mcrypt-generic-end-refsynopsisdiv">
|
||
<div class="warning"><strong class="warning">Warning</strong>
|
||
|
||
<p class="para">
|
||
This function was <em class="emphasis">DEPRECATED</em> in PHP 5.3.0, and
|
||
<em class="emphasis">REMOVED</em> in PHP 7.0.0.
|
||
</p>
|
||
<p class="para">
|
||
Alternatives to this function include:
|
||
</p>
|
||
|
||
<ul class="simplelist">
|
||
<li class="member"><span class="function"><a href="mcrypt_generic_deinit.html" class="function">mcrypt_generic_deinit()</a></span></li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="refsect1 description" id="refsect1-function.mcrypt-generic-end-description">
|
||
<h3 class="title">说明</h3>
|
||
<div class="methodsynopsis dc-description">
|
||
<span class="methodname"><strong>mcrypt_generic_end</strong></span>
|
||
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$td</code></span>
|
||
) : <span class="type">bool</span></div>
|
||
|
||
<div class="warning"><strong class="warning">Warning</strong><p class="simpara">This alias was
|
||
<em class="emphasis">DEPRECATED</em> in PHP 5.3.0, and <em class="emphasis">REMOVED</em> as of PHP 7.0.0.</p></div>
|
||
<p class="para">
|
||
<div class="warning"><strong class="warning">Warning</strong>
|
||
<p class="para">
|
||
请使用函数 <span class="function"><a href="mcrypt_generic_deinit.html" class="function">mcrypt_generic_deinit()</a></span> 来替代本函数,
|
||
因为当本函数和 <span class="function"><a href="mcrypt_module_close.html" class="function">mcrypt_module_close()</a></span> 一起使用的时候,
|
||
可能会发生由重复释放缓冲区导致的崩溃。
|
||
</p>
|
||
</div>
|
||
</p>
|
||
<p class="para">
|
||
本函数终止由加密描述符(<code class="parameter">td</code>)指定的加密模块。
|
||
实际上,它会清理所有的缓冲区,并且关闭已经打开的模块。
|
||
如果发生错误,返回 <strong><code>FALSE</code></strong>,
|
||
成功返回 <strong><code>TRUE</code></strong>。
|
||
</p>
|
||
</div>
|
||
|
||
</div></div></div></body></html> |