PHP libxml_get_last_error() Function

❮ PHP libxml Reference

Example

Get the last error from the libxml error buffer:

<?php
libxml_get_last_error()
?>

Definition and Usage

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

Syntax

libxml_get_last_error()


Technical Details

Return Value: Returns an error object if there is any error in the buffer, FALSE otherwise
PHP Version: 5.1+

❮ PHP libxml Reference
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.