<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.uodbc.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'pt_BR',
  ),
  'this' => 
  array (
    0 => 'function.odbc-close.php',
    1 => 'odbc_close',
    2 => 'Fecha uma conex&atilde;o ODBC',
  ),
  'up' => 
  array (
    0 => 'ref.uodbc.php',
    1 => 'Fun&ccedil;&otilde;es de ODBC',
  ),
  'prev' => 
  array (
    0 => 'function.odbc-binmode.php',
    1 => 'odbc_binmode',
  ),
  'next' => 
  array (
    0 => 'function.odbc-close-all.php',
    1 => 'odbc_close_all',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'pt_BR',
    'path' => 'reference/uodbc/functions/odbc-close.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.odbc-close" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">odbc_close</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">odbc_close</span> &mdash; <span class="dc-title">Fecha uma conexão ODBC</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.odbc-close-description">
  <h3 class="title">Descrição</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>odbc_close</strong></span>(<span class="methodparam"><span class="type">Odbc\Connection</span> <code class="parameter">$odbc</code></span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>

  <p class="para rdfs-comment">
   Fecha a conexão com o servidor de banco de dados.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.odbc-close-parameters">
  <h3 class="title">Parâmetros</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">odbc</code></dt>
     <dd>
      <p class="para">O objeto da conexão ODBC.
Consulte <span class="function"><a href="function.odbc-connect.php" class="function">odbc_connect()</a></span> para obter detalhes.</p>
     </dd>
    
   </dl>
  </p>
 </div>

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


 <div class="refsect1 changelog" id="refsect1-function.odbc-close-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.4.0</td>
 <td>
  <code class="parameter">odbc</code> agora espera uma instância de <span class="classname"><strong class="classname">Odbc\Connection</strong></span>;
  anteriormente, esperava um <span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span>.
 </td>
</tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 notes" id="refsect1-function.odbc-close-notes">
  <h3 class="title">Notas</h3>
  <blockquote class="note"><p><strong class="note">Nota</strong>: 
   <p class="para">
    Esta função falhará se houver transações abertas nesta
    conexão. A conexão permanecerá aberta neste caso.
   </p>
  </p></blockquote>
 </div>

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