Home > PHP > Function > libxml > libxml_get_errors()

libxml_get_errors()

libxml_get_errors - Retrieve array of errors

Syntax

array libxml_get_errors ()

Arguments

-

Description

Retrieve array of errors.

Version

PHP 5.1.0

Return value

Returns an array with LibXMLError objects if there are any errors in the buffer, or an empty array otherwise.