libxml_set_external_entity_loader
PHP 5 >= 5.4.0, PHP 7, PHP 8
libxml_set_external_entity_loader - Changes the default external entity loader
Code Examples
Example #1 libxml_set_external_entity_loader example
Result: string(10) "-//FOO/BAR"
string(25) "http://example.com/foobar"
array(4) {
["directory"] => NULL
["intSubName"] => NULL
["extSubURI"] => NULL
["extSubSystem"] => NULL
}
bool(true)