Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > 2b917e0437961edec048f1d15e2d7449 > files > 4707

php-manual-en-7.2.11-1.mga7.noarch.rpm

<!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>This function terminates encryption</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.mcrypt-generic-deinit.html">mcrypt_generic_deinit</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.mcrypt-generic-init.html">mcrypt_generic_init</a></div>
 <div class="up"><a href="ref.mcrypt.html">Mcrypt Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.mcrypt-generic-end" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">mcrypt_generic_end</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.0.2, PHP 5)</p><p class="refpurpose"><span class="refname">mcrypt_generic_end</span> &mdash; <span class="dc-title">This function terminates encryption</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="function.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">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">bool</span> <span class="methodname"><strong>mcrypt_generic_end</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$td</code></span>
   )</div>

  <p class="para rdfs-comment">
   <div class="warning"><strong class="warning">Warning</strong>
    <p class="para">
     <span class="function"><a href="function.mcrypt-generic-deinit.html" class="function">mcrypt_generic_deinit()</a></span> should be used instead of this
     function, as it can cause crashes when used with
     <span class="function"><a href="function.mcrypt-module-close.html" class="function">mcrypt_module_close()</a></span> due to multiple buffer frees.
    </p>
   </div>
  </p>
  <p class="para">
   This function terminates encryption specified by the encryption
   descriptor (<code class="parameter">td</code>). Actually it clears all buffers,
   and closes all the modules used. Returns <strong><code>FALSE</code></strong> on error, or <strong><code>TRUE</code></strong> on
   success.
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.mcrypt-generic-deinit.html">mcrypt_generic_deinit</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.mcrypt-generic-init.html">mcrypt_generic_init</a></div>
 <div class="up"><a href="ref.mcrypt.html">Mcrypt Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>