Latest web development tutorials
 

PHP libxml_use_internal_errors() Function


< Complete PHP libxml Reference

Definition and Usage

The libxml_use_internal_errors() function disables standard libxml errors and enables user error handling.

This function returns the previous value of the use_lib_errors parameter.

Syntax

libxml_use_internal_errors(user_errors)

Parameter Description
user_errors Optional. Specifies if user error handling should be enabled. Default is FALSE


Example

<?php
libxml_use_internal_errors()
?>

< Complete PHP libxml Reference