PHP libxml_use_internal_errors() Function
Example
Enable user error handling:
<?php
libxml_use_internal_errors(true)
?>
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
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.