Latest web development tutorials
 

PHP libxml_get_errors() Function


< Complete PHP libxml Reference

Definition and Usage

The libxml_get_errors() function gets errors from the the libxml error buffer

This function returns an array of error objects, and an empty array if there are no errors in the libxml error buffer.

Syntax

libxml_get_errors()

Example

<?php
libxml_get_errors()
?>

< Complete PHP libxml Reference