PHP libxml_get_last_error()Function


PHP libxml 参考手册Complete PHP libxml Reference

Definition and Usage

The libxml_get_last_error() function retrieves the last error from the libxml error buffer.

Returns an error object on success, or FALSE on failure or if there are no errors in the libxml error buffer.

Syntax

libxml_get_last_error()


Examples

<?php
libxml_get_last_error()
?>


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