PHP libxml_get_errors()Functions


PHP libxml 参考手册Complete PHP libxml Reference

Definition and Usage

The libxml_get_errors() function retrieves errors from the libxml error buffer.

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

Syntax

libxml_get_errors()


Examples

<?php
libxml_get_errors()
?>


PHP libxml 参考手册Complete PHP libxml Reference Other Extensions