Latest web development tutorials

PHP libxml_get_last_error () function

PHP libxml Reference Manual Complete PHP libxml Reference Manual

Definition and Usage

libxml_get_last_error () function to get the last error from libxml error buffer.

If successful, the function returns an error object. If it fails or libxml error buffer there are no errors, it returns FALSE.

grammar

libxml_get_last_error()


Examples

<?php
libxml_get_last_error()
?>


PHP libxml Reference Manual Complete PHP libxml Reference Manual