libxml_disable_entity_loader

Supported Versions: PHP 5 >= 5.2.11, PHP 7, PHP 8
Disable the ability to load external entities
<?php libxml_disable_entity_loader(bool $disable = true): bool