libxml_disable_entity_loader Disable the ability to load external entities &warn.deprecated.function-8-0-0; &reftitle.description; boollibxml_disable_entity_loader booldisable&true; Disable/enable the ability to load external entities. Note that disabling the loading of external entities may cause general issues with loading XML documents. However, as of libxml 2.9.0 entity substitution is disabled by default, so there is no need to disable the loading of external entities, unless there is the need to resolve internal entity references with LIBXML_NOENT. Generally, it is preferable to use libxml_set_external_entity_loader to suppress loading of external entities. &reftitle.parameters; disable Disable (&true;) or enable (&false;) libxml extensions (such as , and ) to load external entities. &reftitle.returnvalues; Returns the previous value. &reftitle.seealso; libxml_use_internal_errors libxml_set_external_entity_loader The LIBXML_NONET constant