libxml_disable_entity_loader

(PHP 5 >= 5.2.11, PHP 7)
Disable the ability to load external entities
bool libxml_disable_entity_loader ([ bool $disable = true ] )

Disable/enable the ability to load external entities.

Parameters:
disable

Disable (TRUE) or enable (FALSE) libxml extensions (such as DOM, XMLWriter and XMLReader) to load external entities.

Returns:

Returns the previous value.

See also:

libxml_use_internal_errors() -

The LIBXML_NONET constant -

doc_php
2016-02-24 16:15:02
Comments
Leave a Comment

Please login to continue.