(PHP 5 >= 5.2.11, PHP 7)
libxml_disable_entity_loader — Disable the ability to load external entities
$disable
TRUE
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.
FALSE
Returns the previous value.
LIBXML_NONET