xml_set_end_namespace_decl_handler
(PHP 4 >= 4.0.5, PHP 5, PHP 7, PHP 8)
Set up end namespace declaration handler
Description
Set a handler to be called when leaving the scope of a namespace declaration. This will be called, for each namespace declaration, after the handler for the end tag of the element in which the namespace was declared.
This event is not supported under libXML, so a registered handler wouldn't be called.
Parameters
handlerDescription
The signature of the handler must be:
handler(XMLParser $parser, string|false $prefix)prefixThe prefix is a string used to reference the namespace within an XML object. false if no prefix exists.
Return Values
Always
Changelog
| Version | Description |
|---|