<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.mcrypt.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'function.mcrypt-enc-self-test.php',
    1 => 'mcrypt_enc_self_test',
    2 => 'Runs a self test on the opened module',
  ),
  'up' => 
  array (
    0 => 'ref.mcrypt.php',
    1 => 'Функції Mcrypt',
  ),
  'prev' => 
  array (
    0 => 'function.mcrypt-enc-is-block-mode.php',
    1 => 'mcrypt_enc_is_block_mode',
  ),
  'next' => 
  array (
    0 => 'function.mcrypt-encrypt.php',
    1 => 'mcrypt_encrypt',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/mcrypt/functions/mcrypt-enc-self-test.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.mcrypt-enc-self-test" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">mcrypt_enc_self_test</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.0.2, PHP 5, PHP 7 &lt; 7.2.0, PECL mcrypt &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">mcrypt_enc_self_test</span> &mdash; <span class="dc-title">Runs a self test on the opened module</span></p>

 </div>
 <div id="function.mcrypt-enc-self-test-refsynopsisdiv">
  <div class="warning"><strong class="warning">Увага</strong><p class="simpara">Ця функція
<em>ЗАСТАРІЛА</em>, починаючи з PHP 7.1.0, та
<em>ВИЛУЧЕНА</em> в PHP 7.2.0. Вкрай не рекомендується на неї
покладатися.</p></div>
 </div>
 <div class="refsect1 description" id="refsect1-function.mcrypt-enc-self-test-description">
  <h3 class="title">Опис</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>mcrypt_enc_self_test</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$td</code></span>): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>

  <p class="para rdfs-comment">
   This function runs the self test on the algorithm specified by the
   descriptor <code class="parameter">td</code>.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.mcrypt-enc-self-test-parameters">
  <h3 class="title">Параметри</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">td</code></dt>
     <dd>
      <p class="para">
       The encryption descriptor.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.mcrypt-enc-self-test-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   Returns <code class="literal">0</code> on success and a negative <span class="type"><a href="language.types.integer.php" class="type int">int</a></span> on failure.
  </p>
 </div>

</div><?php manual_footer($setup); ?>