PHP 5 >= 5.1.0, PHP 7, PHP 8
libxml_get_errors - Retrieve array of errors
Code Examples

libxml_get_errors( ): array

Retrieve array of errors.


This function has no parameters.

Return Values

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

Related Functions

Example of libxml_get_errors

Show all examples for libxml_get_errors

PHP Version:

Function libxml_get_errors:

libxml Functions

Most used PHP functions