PHP libxml_disable_entity_loader() Function
Example
Enable the ability to load external entities:
<?php
libxml_disable_entity_loader(false)
?>
Definition and Usage
The libxml_disable_entity_loader() function enables the ability to load external entities.
Syntax
libxml_disable_entity_loader(bool)
Parameter Values
Parameter | Description |
---|---|
bool | Optional. Disable (TRUE) or enable (FALSE) libxml extensions to load external entities. Default is TRUE |
Technical Details
Return Value: | Returns the previous value of the bool parameter |
---|---|
PHP Version: | 5.2.11+ |
❮ PHP libxml Reference
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.