<?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 => 'it',
  ),
  'this' => 
  array (
    0 => 'function.mcrypt-module-is-block-mode.php',
    1 => 'mcrypt_module_is_block_mode',
    2 => 'Returns if the specified mode outputs blocks or not',
  ),
  'up' => 
  array (
    0 => 'ref.mcrypt.php',
    1 => 'Mcrypt Funzioni',
  ),
  'prev' => 
  array (
    0 => 'function.mcrypt-module-is-block-algorithm-mode.php',
    1 => 'mcrypt_module_is_block_algorithm_mode',
  ),
  'next' => 
  array (
    0 => 'function.mcrypt-module-open.php',
    1 => 'mcrypt_module_open',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/mcrypt/functions/mcrypt-module-is-block-mode.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.mcrypt-module-is-block-mode" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">mcrypt_module_is_block_mode</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_module_is_block_mode</span> &mdash; <span class="dc-title">Returns if the specified mode outputs blocks or not</span></p>

 </div>
 <div id="function.mcrypt-module-is-block-mode-refsynopsisdiv">
  <div class="warning"><strong class="warning">Avviso</strong><p class="simpara">This function has been
<em>DEPRECATED</em> as of PHP 7.1.0 and
<em>REMOVED</em> as of PHP 7.2.0. Relying on this function
is highly discouraged.</p></div>
 </div>
 <div class="refsect1 description" id="refsect1-function.mcrypt-module-is-block-mode-description">
  <h3 class="title">Descrizione</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>mcrypt_module_is_block_mode</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$mode</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$lib_dir</code><span class="initializer"> = ?</span></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="simpara">
   This function returns <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> if the mode outputs blocks of bytes or
   <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> if it outputs just bytes. (e.g. <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> for cbc and ecb, and
   <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> for cfb and stream).
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.mcrypt-module-is-block-mode-parameters">
  <h3 class="title">Elenco dei parametri</h3>
  <dl>
   
    <dt><code class="parameter">mode</code></dt>
    <dd>
     <p class="para">Una tra le costanti <strong><code>MCRYPT_MODE_modename</code></strong>, oppure una tra le seguenti stringhe: &quot;ecb&quot;, &quot;cbc&quot;, &quot;cfb&quot;, &quot;ofb&quot;, &quot;nofb&quot; o &quot;stream&quot;.</p>
    </dd>
   
   
    <dt><code class="parameter">lib_dir</code></dt>
    <dd>
     <span class="simpara">
      The optional <code class="parameter">lib_dir</code> parameter can contain the
      location where the algorithm module is on the system.
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.mcrypt-module-is-block-mode-returnvalues">
  <h3 class="title">Valori restituiti</h3>
  <p class="simpara">
   This function returns <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> if the mode outputs blocks of bytes or
   <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> if it outputs just bytes. (e.g. <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> for cbc and ecb, and
   <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> for cfb and stream).
  </p>
 </div>

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