<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.libxml.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'class.libxmlerror.php',
    1 => 'LibXMLError',
    2 => 'The LibXMLError class',
  ),
  'up' => 
  array (
    0 => 'book.libxml.php',
    1 => 'libxml',
  ),
  'prev' => 
  array (
    0 => 'libxml.constants.php',
    1 => 'Costanti predefinite',
  ),
  'next' => 
  array (
    0 => 'ref.libxml.php',
    1 => 'Funzioni libxml',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/libxml/libxmlerror.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="class.libxmlerror" class="reference">
 <h1 class="title">The LibXMLError class</h1>
 
 
 <div class="partintro"><p class="verinfo">(PHP 5 &gt;= 5.1.0, PHP 7, PHP 8)</p>
 

  <div class="section" id="libxmlerror.intro">
   <h2 class="title">Introduzione</h2>
   <p class="para">
    Contains various information about errors thrown by libxml. The error codes
    are described within the official 
    <a href="https://gnome.pages.gitlab.gnome.org/libxml2/devhelp/libxml2-xmlerror.html" class="link external">&raquo;&nbsp;xmlError API documentation</a>.
   </p>

  </div>

 
  <div class="section" id="libxmlerror.synopsis">
   <h2 class="title">Sommario della classe</h2>
 

   <div class="classsynopsis"><div class="classsynopsisinfo">
    
     <span class="modifier">class</span> <strong class="classname"><strong class="classname">LibXMLError</strong></strong>
     {</div>

    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Proprietà  */</div>
    <div class="fieldsynopsis">
     <span class="modifier">public</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="varname"><a href="class.libxmlerror.php#libxmlerror.props.level">$<var class="varname">level</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="varname"><a href="class.libxmlerror.php#libxmlerror.props.code">$<var class="varname">code</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="varname"><a href="class.libxmlerror.php#libxmlerror.props.column">$<var class="varname">column</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
      <var class="varname"><a href="class.libxmlerror.php#libxmlerror.props.message">$<var class="varname">message</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
      <var class="varname"><a href="class.libxmlerror.php#libxmlerror.props.file">$<var class="varname">file</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="varname"><a href="class.libxmlerror.php#libxmlerror.props.line">$<var class="varname">line</var></a></var>;</div>

   }</div>

  </div>
 

  <div class="section" id="libxmlerror.props">
   <h2 class="title">Proprietà</h2>
   <dl>
    
     <dt id="libxmlerror.props.level"><var class="varname">level</var></dt>
     <dd>
      <p class="para">
       the severity of the error (one of the following constants:
       <strong><code><a href="libxml.constants.php#constant.libxml-err-warning">LIBXML_ERR_WARNING</a></code></strong>,
       <strong><code><a href="libxml.constants.php#constant.libxml-err-error">LIBXML_ERR_ERROR</a></code></strong> or
       <strong><code><a href="libxml.constants.php#constant.libxml-err-fatal">LIBXML_ERR_FATAL</a></code></strong>)
      </p>
     </dd>
    
    
     <dt id="libxmlerror.props.code"><var class="varname">code</var></dt>
     <dd>
      <p class="para">
       The error&#039;s code.
      </p>
     </dd>
    
    
     <dt id="libxmlerror.props.column"><var class="varname">column</var></dt>
     <dd>
      <p class="para">
       The column where the error occurred.
      </p>
      <blockquote class="note"><p><strong class="note">Nota</strong>: 
       <p class="para">
        This property isn&#039;t entirely implemented in libxml and therefore
        <code class="literal">0</code> is often returned.
       </p>
      </p></blockquote>
     </dd>
    
    
     <dt id="libxmlerror.props.message"><var class="varname">message</var></dt>
     <dd>
      <p class="para">
       The error message, if any.
      </p>
     </dd>
    
    
     <dt id="libxmlerror.props.file"><var class="varname">file</var></dt>
     <dd>
      <p class="para">The filename, or empty if the XML was loaded from a string.</p>
     </dd>
    
    
     <dt id="libxmlerror.props.line"><var class="varname">line</var></dt>
     <dd>
      <p class="para">
       The line where the error occurred.
      </p>
     </dd>
    
   </dl>
  </div>

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