PHP libxml_get_last_error() Function
Example
Get the last error from the libxml error buffer:
<?php
libxml_get_last_error()
?>
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