(PHP 5 >= 5.2.11, PHP 7)
libxml_disable_entity_loader — Disable the ability to load external entities
$disable
Disable/enable the ability to load external entities.
disable
Disable (TRUE) or enable (FALSE) libxml extensions (such as DOM, XMLWriter and XMLReader) to load external entities.
TRUE
FALSE
Returns the previous value.
LIBXML_NONET