PHP libxml_get_last error() Function

PHP libxml Reference : Get the last error from the libxml error buffer

Definition and Usage

The libxml_get_last_error() function gets the last error from the libxml error buffer.

Syntax

libxml_get_last_error()

Technical Details

Return Value: Returns an error object if there is any error in the buffer, FALSE otherwise
PHP Version: 5.1+

❮ PHP libxml Reference