Latest web development tutorials
 

PHP libxml_get_last_error() Function


< Complete PHP libxml Reference

Definition and Usage

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

This function returns an error object on success, and FALSE on failure or if there are no errors in the libxml error buffer.

Syntax

libxml_get_last_error()

Example

<?php
libxml_get_last_error()
?>

< Complete PHP libxml Reference