libxml
libxml_clear_errors
libxml
PHP Manual

# libxml Functions

## Predefined Classes

## LibXMLError

## Properties

- code - the error's code

- column - the column where the error occurred. Please note that this property isn't entirely implemented in libxml and therefore 0 is often returned.

- file - the filename, or empty if the XML was loaded from a string

- level - the severity of the error (one of the following constants: `LIBXML_ERR_WARNING`, `LIBXML_ERR_ERROR` or `LIBXML_ERR_FATAL`)

- line - the line where the error occurred

- message - the error message

## Table of Contents

- libxml_clear_errors — Clear libxml error buffer
- libxml_get_errors — Retrieve array of errors
- libxml_get_last_error — Retrieve last error from libxml
- libxml_set_streams_context — Set the streams context for the next libxml document load or write
- libxml_use_internal_errors — Disable libxml errors and allow user to fetch error information as needed

libxml
libxml_clear_errors
libxml
PHP Manual