PHP libxml_use_internal_errors() Function

PHP libxml Reference : Enable user error handling

Definition and Usage

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

Syntax

libxml_use_internal_errors(user_errors)

Parameter Values

Parameter Description
user_errors Optional. Enable user error handling (TRUE) or disable user error handling (FALSE). Default is FALSE

Technical Details

Return Value: Returns the previous value of the user_errors parameter
PHP Version: 5.1+

❮ PHP libxml Reference