libxml_disable_entity_loaderDisable the ability to load external entities Warning
This function has been DEPRECATED as of PHP 8.0.0. Relying on this function is highly discouraged. Description
bool libxml_disable_entity_loader(bool
$disable = 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.
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 Parameters
Return ValuesReturns the previous value. See Also
|