Latest web development tutorials

PHP libxml_get_errors () function

PHP libxml Reference Manual Complete PHP libxml Reference Manual

Definition and Usage

libxml_get_errors () function to get the error from libxml error buffer.

This function returns an array of error objects libxml error buffer if there are no errors, it returns an empty array.

grammar

libxml_get_errors()


Examples

<?php
libxml_get_errors()
?>


PHP libxml Reference Manual Complete PHP libxml Reference Manual