What is libxml use internal errors in PHP

In this article I am going to explain about libxml_use_internal_errors function in PHP.
  • 2220

PHP libxml_use_internal_errors() Function

The libxml libxml_use_internal_errors function allow user to fetch error information as needed and this function also returns the previous value of the use_lib_errors parameter.

Syntax of libxml_use_internal_errors function

libxml_use_internal_errors(userError)


Parameters in libxml_use_internal_errors function

It has only one parameter:
 

Parameter Description
userError It specifies if user handling should be enabled.


Example of
libxml_use_internal_errors function
 

<html>

<body>

<?

libxml_use_internal_errors()

?>

</body>

</html>


You may also want to read these related articles :
here

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.