Home > PHP > Function > libxml > libxml_use_internal_errors()

libxml_use_internal_errors()

libxml_use_internal_errors - Disable libxml errors and allow user to fetch error information as needed

Syntax

bool libxml_use_internal_errors (bool $use_errors)

Arguments

  • use_errors - Whether to enable user error handling.

Description

libxml_use_internal_errors() allows you to disable standard libxml errors and enable user error handling.

Version

PHP 5.1.0

Return value

This function returns the previous value of use_errors.