<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.openssl.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'pt_BR',
  ),
  'this' => 
  array (
    0 => 'function.openssl-free-key.php',
    1 => 'openssl_free_key',
    2 => 'Libera recurso de chave',
  ),
  'up' => 
  array (
    0 => 'ref.openssl.php',
    1 => 'Fun&ccedil;&otilde;es de OpenSSL',
  ),
  'prev' => 
  array (
    0 => 'function.openssl-error-string.php',
    1 => 'openssl_error_string',
  ),
  'next' => 
  array (
    0 => 'function.openssl-get-cert-locations.php',
    1 => 'openssl_get_cert_locations',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'pt_BR',
    'path' => 'reference/openssl/functions/openssl-free-key.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.openssl-free-key" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">openssl_free_key</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.0.4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">openssl_free_key</span> &mdash; <span class="dc-title">Libera recurso de chave</span></p>

 </div>

 <div id="function.openssl-free-key-refsynopsisdiv">
  <div class="warning"><strong class="warning">Aviso</strong><p class="simpara">Esta função foi
<em>DESCONTINUADA</em> a partir do PHP 8.0.0. O uso desta função
é fortemente desencorajado.</p></div>
 </div>

 <div class="refsect1 description" id="refsect1-function.openssl-free-key-description">
  <h3 class="title">Descrição</h3>
  <div class="methodsynopsis dc-description">
   <span class="attribute"><a href="class.deprecated.php">#[\Deprecated]</a> </span><br>
   <span class="methodname"><strong>openssl_free_key</strong></span>(<span class="methodparam"><span class="type"><a href="class.opensslasymmetrickey.php" class="type OpenSSLAsymmetricKey">OpenSSLAsymmetricKey</a></span> <code class="parameter">$key</code></span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>

  <p class="para rdfs-comment">
   <span class="function"><strong>openssl_free_key()</strong></span> libera da memória a chave associada ao
   parâmetro <code class="parameter">key</code>.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.openssl-free-key-parameters">
  <h3 class="title">Parâmetros</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">key</code></dt>
     <dd>
      <p class="para">
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.openssl-free-key-returnvalues">
  <h3 class="title">Valor Retornado</h3>
  <p class="para">
   Nenhum valor é retornado.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.openssl-free-key-changelog">
  <h3 class="title">Registro de Alterações</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Versão</th>
      <th>Descrição</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>8.0.0</td>
      <td>
       Esta função foi descontinuada e não tem mais nenhum efeito.
      </td>
     </tr>

     <tr>
      <td>8.0.0</td>
      <td>
       <code class="parameter">key</code> agora aceita um <span class="classname"><a href="class.opensslasymmetrickey.php" class="classname">OpenSSLAsymmetricKey</a></span>;
       anteriormente, um <span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> do tipo <code class="literal">OpenSSL key</code> era aceito.
      </td>
     </tr>

    </tbody>
   
  </table>

 </div>


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