libxml_get_external_entity_loader()
libxml_get_external_entity_loader() — Get the current external entity loader.
Built-in function of PHP 8.5. The manual lists it as available in PHP 8 >= 8.2.0. This page is the reference card: signature, parameters and return value, plus the changelog and the example the manual provides.
What it does
Get external entity loader previously installed by libxml_set_external_entity_loader().
Signature
libxml_get_external_entity_loader(): ?callable
Parameters
This function takes no parameters.
Return value
The external entity loader previously installed by libxml_set_external_entity_loader(). If that function was never called, or if it was called with null, null will be returned.
Example
The PHP manual ships no example for libxml_get_external_entity_loader(); the signature and the parameter table above are the contract.
See also
libxml_set_external_entity_loader()
All PHP 8.5 built-in functions
Reference card built from the PHP manual page libxml_get_external_entity_loader() (PHP documentation, CC BY 3.0). The page is generated from the manual, so the wording of the parameter and return value text follows php.net.