libxml_set_external_entity_loaderChanges the default external entity loader Description
void libxml_set_external_entity_loader
( callable
$resolver_function
)Changes the default external entity loader. Parameters
Return ValuesNo value is returned. Examples
Example #1 libxml_set_external_entity_loader example
<?phpThe above example will output:
string(10) "-//FOO/BAR"
string(25) "http://example.com/foobar"
array(4) {
["directory"] => NULL
["intSubName"] => NULL
["extSubURI"] => NULL
["extSubSystem"] => NULL
}
bool(true)
See Also
|