PHP libxml_get_errors() Function
Complete PHP libxml Reference Manual
Definition and Usage
The libxml_get_errors() function retrieves errors from the libxml error buffer.
Returns an array of error objects, or an empty array if there are no errors in the libxml error buffer.
Syntax
libxml_get_errors()
Example
Complete PHP libxml Reference Manual