PHP libxml_get_errors() Function

❮ PHP libxml Reference

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
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.