libxml_set_external_entity_loader

Supported Versions: PHP 5 >= 5.4.0, PHP 7, PHP 8
Changes the default external entity loader
<?php libxml_set_external_entity_loader(?callable $resolver_function): bool