libxml_get_last_error()
(PHP 5 >= 5.1.0, PHP 7)
Retrieve last error from libxml
说明
libxml_get_last_error(void): LibXMLError
Retrieve last error from libxml.
返回值
Returns a LibXMLError object if there is any error in the buffer,FALSE
otherwise.
参见
libxml_get_errors()
Retrieve array of errorslibxml_clear_errors()
Clear libxml error buffer