libxml 函数
PHP Manual

libxml_get_last_error

(PHP 5 >= 5.1.0)

libxml_get_last_error Retrieve last error from libxml

说明

LibXMLError libxml_get_last_error ( void )

Retrieve last error from libxml.

返回值

Returns a LibXMLError object if there is any error in the buffer, FALSE otherwise.

参见


libxml 函数
PHP Manual