<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.libxml.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'pt_BR',
  ),
  'this' => 
  array (
    0 => 'function.libxml-get-last-error.php',
    1 => 'libxml_get_last_error',
    2 => 'Obt&eacute;m o &uacute;ltimo erro da libxml',
  ),
  'up' => 
  array (
    0 => 'ref.libxml.php',
    1 => 'Fun&ccedil;&otilde;es da libxml',
  ),
  'prev' => 
  array (
    0 => 'function.libxml-get-external-entity-loader.php',
    1 => 'libxml_get_external_entity_loader',
  ),
  'next' => 
  array (
    0 => 'function.libxml-set-external-entity-loader.php',
    1 => 'libxml_set_external_entity_loader',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'pt_BR',
    'path' => 'reference/libxml/functions/libxml-get-last-error.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.libxml-get-last-error" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">libxml_get_last_error</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.1.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">libxml_get_last_error</span> &mdash; <span class="dc-title">
   Obtém o último erro da libxml
  </span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.libxml-get-last-error-description">
  <h3 class="title">Descrição</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>libxml_get_last_error</strong></span>(): <span class="type"><span class="type"><a href="class.libxmlerror.php" class="type LibXMLError">LibXMLError</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="para rdfs-comment">
   Obtém o último erro da libxml.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.libxml-get-last-error-parameters">
  <h3 class="title">Parâmetros</h3>
  <p class="para">Esta função não possui parâmetros.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.libxml-get-last-error-returnvalues">
  <h3 class="title">Valor Retornado</h3>
  <p class="para">
   Retorna um objeto <span class="type"><a href="class.libxmlerror.php" class="type LibXMLError">LibXMLError</a></span> se houver algum erro no
   buffer, <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> caso contrário.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.libxml-get-last-error-seealso">
  <h3 class="title">Veja Também</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.libxml-get-errors.php" class="function" rel="rdfs-seeAlso">libxml_get_errors()</a> - Obt&eacute;m um array de erros</span></li>
    <li><span class="function"><a href="function.libxml-clear-errors.php" class="function" rel="rdfs-seeAlso">libxml_clear_errors()</a> - Limpa o buffer de erro da libxml</span></li>
   </ul>
  </p>
 </div>

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