<?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 => 'it',
  ),
  'this' => 
  array (
    0 => 'function.libxml-get-last-error.php',
    1 => 'libxml_get_last_error',
    2 => 'Retrieve last error from libxml',
  ),
  'up' => 
  array (
    0 => 'ref.libxml.php',
    1 => 'Funzioni 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' => 'en',
    '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">
   Retrieve last error from libxml
  </span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.libxml-get-last-error-description">
  <h3 class="title">Descrizione</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">
   Retrieve last error from libxml.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.libxml-get-last-error-parameters">
  <h3 class="title">Elenco dei parametri</h3>
  <p class="para">Questa funzione non contiene parametri.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.libxml-get-last-error-returnvalues">
  <h3 class="title">Valori restituiti</h3>
  <p class="para">
   Returns a <span class="type"><a href="class.libxmlerror.php" class="type LibXMLError">LibXMLError</a></span> object if there is any error in the
   buffer, <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> otherwise.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.libxml-get-last-error-seealso">
  <h3 class="title">Vedere anche:</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> - Retrieve array of errors</span></li>
    <li><span class="function"><a href="function.libxml-clear-errors.php" class="function" rel="rdfs-seeAlso">libxml_clear_errors()</a> - Svuota il buffer di errori libxml</span></li>
   </ul>
  </p>
 </div>

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