PHP libxml_get_errors() Function
Example
Get the errors from the libxml error buffer:
<?php
libxml_get_errors()
?>
Definition and Usage
The libxml_get_errors() function gets the errors from the the libxml error buffer.
Syntax
libxml_get_errors()
Technical Details
Return Value: | Returns an array of error objects, or an empty array if there are no errors in the error buffer |
---|---|
PHP Version: | 5.1+ |
❮ PHP libxml Reference