PHP - Manual: libxml_get_last_error
2024-12-25
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
libxml_get_last_error — Retrieve last error from libxml
此函数没有参数。
Returns a LibXMLError object if there is any error in the
buffer, false
otherwise.
官方地址:https://www.php.net/manual/en/function.libxml-get-last-error.php