xml_set_default_handler
PHP function
Edit on GitHub ✎
(PHP 4, PHP 5, PHP 7, PHP 8)
Set up default handler
Description
xml_set_default_handler(XMLParser $parser, callable|string|null $handler): true
Sets the default handler function for the XML parser parser.
Parameters
handlerDescription
The signature of the handler must be:
handler(XMLParser $parser, string $data): voiddatadatacontains the character data. This may be the XML declaration, document type declaration, entities or other data for which no other handler exists.
Return Values
Always
Changelog
| Version | Description |
|---|