PHP libxml_get_last_error() Function
Definition and Usage
The libxml_get_last_error() function retrieves the last error from the libxml error buffer.
If successful, it returns an error object. If failed, or there is no error in the libxml error buffer, it returns false.
Syntax
libxml_get_last_error()
Example
<?php libxml_get_last_error() ?>