php8.5
Home/ Manual/ libxml / functions/ libxml_get_last_error

libxml_get_last_error

PHP function Edit on GitHub ✎

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

Retrieve last error from libxml

Description

libxml_get_last_error(): LibXMLError|false

Retrieve last error from libxml.

Parameters Parameters

Return Values

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

See Also

Source: reference/libxml/functions/libxml-get-last-error.xml · from the official PHP manual (php/doc-en)