PHP libxml_use_internal_errors()Function


PHP libxml 参考手册Complete PHP libxml Reference Manual

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)

Parameters Description
user_errors Optional. Specifies whether user error handling should be enabled. Default is FALSE.


Examples

<?php
libxml_use_internal_errors()
?>


PHP libxml 参考手册Complete PHP libxml Reference Manual Other Extensions